113         $this->
getConfig()->setConfigParam(
'bl_perfCalcVatOnlyForBasketOrder', 
false);
 
  117             $oBasket->onUpdate();
 
  139             if (
$myConfig->getConfigParam(
'blPsBasketReservationEnabled')) {
 
  140                 $this->
getSession()->getBasketReservations()->renewExpiration();
 
  141                 if (!$oBasket || ($oBasket && !$oBasket->getProductsCount())) {
 
  148             if (!$oUser && ($oBasket && $oBasket->getProductsCount() > 0)) {
 
  150             } elseif (!$oBasket || !$oUser || ($oBasket && !$oBasket->getProductsCount())) {
 
  184         if (!$this->
getSession()->checkSessionChallenge()) {
 
  189             $this->_blConfirmAGBError = 1;
 
  195         if ($oConfig->getRequestParameter(
'ord_custinfo') !== null && !$oConfig->getRequestParameter(
'ord_custinfo') && $this->
isConfirmCustInfoActive()) {
 
  196             $this->_blConfirmCustInfoError = 1;
 
  208         if ($oBasket->getProductsCount()) {
 
  211                 $oOrder = 
oxNew(
'oxorder');
 
  214                 $iSuccess = $oOrder->finalizeOrder($oBasket, $oUser);
 
  217                 $oUser->onOrderExecute($oBasket, $iSuccess);
 
  222                 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay($oEx, 
false, 
true, 
'basket');
 
  238         if ($this->_oPayment === null) {
 
  239             $this->_oPayment = 
false;
 
  245             $sPaymentid = $oBasket->getPaymentId();
 
  246             $oPayment = 
oxNew(
'oxpayment');
 
  248             if ($sPaymentid && $oPayment->load($sPaymentid) &&
 
  252                     $oBasket->getPriceForPayment(),
 
  255                 $this->_oPayment = $oPayment;
 
  268         if ($this->_oBasket === null) {
 
  269             $this->_oBasket = 
false;
 
  271                 $this->_oBasket = $oBasket;
 
  294         if ($this->_sOrderRemark === null) {
 
  295             $this->_sOrderRemark = 
false;
 
  310         if ($this->_oBasketArtList === null) {
 
  311             $this->_oBasketArtList = 
false;
 
  313                 $this->_oBasketArtList = $oBasket->getBasketArticles();
 
  326         if ($this->_oDelAddress === null) {
 
  327             $this->_oDelAddress = 
false;
 
  328             $oOrder = 
oxNew(
'oxorder');
 
  329             $this->_oDelAddress = $oOrder->getDelAddressInfo();
 
  341         if ($this->_oShipSet === null) {
 
  342             $this->_oShipSet = 
false;
 
  344                 $oShipSet = 
oxNew(
'oxdeliveryset');
 
  345                 if ($oShipSet->load($oBasket->getShippingId())) {
 
  346                     $this->_oShipSet = $oShipSet;
 
  360         if ($this->_blConfirmAGB === null) {
 
  361             $this->_blConfirmAGB = 
false;
 
  362             $this->_blConfirmAGB = $this->
getConfig()->getConfigParam(
'blConfirmAGB');
 
  375         if ($this->_blConfirmCustInfo === null) {
 
  376             $this->_blConfirmCustInfo = 
false;
 
  377             $sConf = $this->
getConfig()->getConfigParam(
'blConfirmCustInfo');
 
  378             if ($sConf != null) {
 
  379                 $this->_blConfirmCustInfo = $this->
getConfig()->getConfigParam(
'blConfirmCustInfo');
 
  413         if ($this->_blShowOrderButtonOnTop === null) {
 
  414             $this->_blShowOrderButtonOnTop = 
false;
 
  415             $this->_blShowOrderButtonOnTop = $this->
getConfig()->getConfigParam(
'blShowOrderButtonOnTop');
 
  431         if ($this->_iWrapCnt === null) {
 
  432             $this->_iWrapCnt = 0;
 
  434             $oWrap = 
oxNew(
'oxwrapping');
 
  435             $this->_iWrapCnt += $oWrap->getWrappingCount(
'WRAP');
 
  436             $this->_iWrapCnt += $oWrap->getWrappingCount(
'CARD');
 
  453         $aPath[
'link'] = $this->
getLink();
 
  479         $sDelAddress = $oUser->getEncodedDeliveryAddress();
 
  483             $oDelAdress = 
oxNew(
'oxaddress');
 
  486             $sDelAddress .= $oDelAdress->getEncodedDeliveryAddress();
 
  500         $oBasketContentMarkGenerator = 
oxNew(
'oxBasketContentMarkGenerator', $this->
getBasket());
 
  502         return $oBasketContentMarkGenerator;
 
  516         $sNextStep = 
'thankyou';
 
  521                 $sNextStep = 
'thankyou?mailerror=1';
 
  524                 $sNextStep = 
'order?iAddressError=1';
 
  527                 $sNextStep = 
'order';
 
  532                 $sNextStep = 
'payment?payerror=2';
 
  536             case (is_numeric($iSuccess) && $iSuccess > 3):
 
  538                 $sNextStep = 
'payment?payerror=' . $iSuccess;
 
  540             case (!is_numeric($iSuccess) && $iSuccess):
 
  543                 $iSuccess = urlencode($iSuccess);
 
  544                 $sNextStep = 
'payment?payerror=-1&payerrortext=' . $iSuccess;
 
  563         if ($oConfig->getConfigParam(
'blConfirmAGB') && !$oConfig->getRequestParameter(
'ord_agb')) {
 
  567         if ($oConfig->getConfigParam(
'blEnableIntangibleProdAgreement')) {
 
  570             if ($blValid && $oBasket->hasArticlesWithDownloadableAgreement() && !$oConfig->getRequestParameter(
'oxdownloadableproductsagreement')) {
 
  574             if ($blValid && $oBasket->hasArticlesWithIntangibleAgreement() && !$oConfig->getRequestParameter(
'oxserviceproductsagreement')) {