application/controllers/bestitamazoncron.php
public function amazonCall()
    {
        $sOperation = $this->_getOperationName();

        if ($sOperation !== false) {
            $oResult = $this->_getContainer()->getClient()->{$sOperation}(
                $this->_getOrder(),
                $this->_getParams()
            );

            $this->_addToMessages('<pre>'.print_r($oResult, true).'</pre>');
            return;
        }

        $this->setViewData(array(
            'sError' => 'Please specify operation you want to call (&operation=) '
                .'and use &oxid= parameter to specify order ID or use &aParams[\'key\']=value'
        ));
    }
public function amazonCall()
    {
        $sOperation = $this->_getOperationName();

        if ($sOperation !== false) {
            $oResult = $this->_getContainer()->getClient()->{$sOperation}(
                $this->_getOrder(),
                $this->_getParams()
            );

            $this->_addToMessages('<pre>'.print_r($oResult, true).'</pre>');
            return;
        }

        $this->setViewData(array(
            'sError' => 'Please specify operation you want to call (&operation=) '
                .'and use &oxid= parameter to specify order ID or use &aParams[\'key\']=value'
        ));
    }
public function amazonCall ( ) { $ sOperation = $ this -> _getOperationName ( ) ; if ( $ sOperation !== false ) { $ oResult = $ this -> _getContainer ( ) -> getClient ( ) -> { $ sOperation } ( $ this -> _getOrder ( ) , $ this -> _getParams ( ) ) ; $ this -> _addToMessages ( '<pre>' . print_r ( $ oResult , true ) . '</pre>' ) ; return ; } $ this -> setViewData ( array ( 'sError' => 'Please specify operation you want to call (&operation=) ' . 'and use &oxid= parameter to specify order ID or use &aParams[\'key\']=value' ) ) ; }
Makes request to Amazon methods

amazonCall method Calling examples:

index.php?cl=bestitamazoncron&fnc=amazonCall&operation=Authorize&oxid=87feca21ce31c34f0d3dceb8197a2375
index.php?cl=bestitamazoncron&fnc=amazonCall&operation=Authorize&aParams[AmazonOrderReferenceId]=51fd6a7381e7a0220b0f166fe331e420&aParams[AmazonAuthorizationId]=S02-8774768-9373076-A060413
@throws oxSystemComponentException
Makes request to Amazon methods