src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerOgoneAliasGateway.class.php
protected function GetErrorURL($sStepName = '')
    {
        if (empty($sStepName)) {
            $sStepName = 'shipping';
        }
        $sURL = false;
        $oShippingStep = TdbShopOrderStep::GetStep($sStepName);
        /** @var $oShippingStep TdbShopOrderStep */
        if (!is_null($oShippingStep)) {
            $sURL = $oShippingStep->GetStepURL(true, true);
            if ('/' == substr($sURL, -1)) {
                $sURL = substr($sURL, 0, -1);
            }
        }

        return $sURL;
    }
protected function GetErrorURL($sStepName = '')
    {
        if (empty($sStepName)) {
            $sStepName = 'shipping';
        }
        $sURL = false;
        $oShippingStep = TdbShopOrderStep::GetStep($sStepName);
        /** @var $oShippingStep TdbShopOrderStep */
        if (!is_null($oShippingStep)) {
            $sURL = $oShippingStep->GetStepURL(true, true);
            if ('/' == substr($sURL, -1)) {
                $sURL = substr($sURL, 0, -1);
            }
        }

        return $sURL;
    }
protected function GetErrorURL ( $ sStepName = '' ) { if ( empty ( $ sStepName ) ) { $ sStepName = 'shipping' ; } $ sURL = false ; $ oShippingStep = TdbShopOrderStep :: GetStep ( $ sStepName ) ; /** @var $oShippingStep TdbShopOrderStep */ if ( ! is_null ( $ oShippingStep ) ) { $ sURL = $ oShippingStep -> GetStepURL ( true , true ) ; if ( '/' == substr ( $ sURL , - 1 ) ) { $ sURL = substr ( $ sURL , 0 , - 1 ) ; } } return $ sURL ; }
defines the error url of the "get alias" call
by default we only want to return to the shipping step.

@param string $sStepName

@return string
defines the error url of the get alias call by default we only want to return to the shipping step .