ext/bestitamazonpay4oxid_oxcmp_basket.php
public function render()
    {
        $sClass = $this->_getContainer()->getConfig()->getRequestParameter('cl');

        //If user was let to change payment, don't let him do other shit, just payment selection
        if ($sClass !== 'order'
            && $sClass !== 'thankyou'
            && (bool)$this->_getContainer()->getSession()->getVariable('blAmazonSyncChangePayment') === true
        ) {
            $this->cleanAmazonPay(true);
        }

        return parent::render();
    }
public function render()
    {
        $sClass = $this->_getContainer()->getConfig()->getRequestParameter('cl');

        //If user was let to change payment, don't let him do other shit, just payment selection
        if ($sClass !== 'order'
            && $sClass !== 'thankyou'
            && (bool)$this->_getContainer()->getSession()->getVariable('blAmazonSyncChangePayment') === true
        ) {
            $this->cleanAmazonPay(true);
        }

        return parent::render();
    }
public function render ( ) { $ sClass = $ this -> _getContainer ( ) -> getConfig ( ) -> getRequestParameter ( 'cl' ) ; //If user was let to change payment, don't let him do other shit, just payment selection if ( $ sClass !== 'order' && $ sClass !== 'thankyou' && ( bool ) $ this -> _getContainer ( ) -> getSession ( ) -> getVariable ( 'blAmazonSyncChangePayment' ) === true ) { $ this -> cleanAmazonPay ( true ) ; } return parent :: render ( ) ; }
Clears amazon pay variables.

@return object
@throws Exception
@throws oxConnectionException
@throws oxSystemComponentException
Clears amazon pay variables .