application/models/bestitamazonpay4oxidbasketutil.php
public function setQuickCheckoutBasket()
    {
        $oObjectFactory = $this->getObjectFactory();
        $oSession = $this->getSession();

        // Create new temp basket and copy the products to it
        $oCurrentBasket = $oSession->getBasket();
        $oSession->setVariable(self::BESTITAMAZONPAY_TEMP_BASKET, serialize($oCurrentBasket));

        //Reset current basket
        $oSession->setBasket($oObjectFactory->createOxidObject('oxBasket'));
    }
public function setQuickCheckoutBasket()
    {
        $oObjectFactory = $this->getObjectFactory();
        $oSession = $this->getSession();

        // Create new temp basket and copy the products to it
        $oCurrentBasket = $oSession->getBasket();
        $oSession->setVariable(self::BESTITAMAZONPAY_TEMP_BASKET, serialize($oCurrentBasket));

        //Reset current basket
        $oSession->setBasket($oObjectFactory->createOxidObject('oxBasket'));
    }
public function setQuickCheckoutBasket ( ) { $ oObjectFactory = $ this -> getObjectFactory ( ) ; $ oSession = $ this -> getSession ( ) ; // Create new temp basket and copy the products to it $ oCurrentBasket = $ oSession -> getBasket ( ) ; $ oSession -> setVariable ( self :: BESTITAMAZONPAY_TEMP_BASKET , serialize ( $ oCurrentBasket ) ) ; //Reset current basket $ oSession -> setBasket ( $ oObjectFactory -> createOxidObject ( 'oxBasket' ) ) ; }
Stores the basket which is present before the quick checkout.

@throws oxSystemComponentException
Stores the basket which is present before the quick checkout .