src/ShopBundle/objects/TCMSSmartURLHandler/TCMSSmartURLHandler_ShopIPayment.class.php
protected function SetStepParameter($oStep)
    {
        $bParameterSet = false;
        $oBasket = TShopBasket::GetInstance();
        $oGlobal = TGlobal::instance();
        $sPaymentMethodId = $oGlobal->GetUserData('shop_payment_method_id');
        $oActivePaymentMethod = TdbShopPaymentMethod::GetNewInstance();
        if ($oActivePaymentMethod->load($sPaymentMethodId)) {
            $bParameterSet = $oBasket->SetActivePaymentMethod($oActivePaymentMethod);
        }

        return $bParameterSet;
    }
protected function SetStepParameter($oStep)
    {
        $bParameterSet = false;
        $oBasket = TShopBasket::GetInstance();
        $oGlobal = TGlobal::instance();
        $sPaymentMethodId = $oGlobal->GetUserData('shop_payment_method_id');
        $oActivePaymentMethod = TdbShopPaymentMethod::GetNewInstance();
        if ($oActivePaymentMethod->load($sPaymentMethodId)) {
            $bParameterSet = $oBasket->SetActivePaymentMethod($oActivePaymentMethod);
        }

        return $bParameterSet;
    }
protected function SetStepParameter ( $ oStep ) { $ bParameterSet = false ; $ oBasket = TShopBasket :: GetInstance ( ) ; $ oGlobal = TGlobal :: instance ( ) ; $ sPaymentMethodId = $ oGlobal -> GetUserData ( 'shop_payment_method_id' ) ; $ oActivePaymentMethod = TdbShopPaymentMethod :: GetNewInstance ( ) ; if ( $ oActivePaymentMethod -> load ( $ sPaymentMethodId ) ) { $ bParameterSet = $ oBasket -> SetActivePaymentMethod ( $ oActivePaymentMethod ) ; } return $ bParameterSet ; }
Set needed parameter for next step like step completed and active payment method.

@param TShopOrderStep $oStep

@return bool $bParameterSet
Set needed parameter for next step like step completed and active payment method .