controllers/oxpspaymorroworder.php
protected function _checkForErrorsToRedirect()
    {
        if ( oxRegistry::getSession()->getVariable( 'pm_init_data' ) ) {
            $sUrl = oxRegistry::getConfig()->getShopCurrentUrl() . "cl=payment";
            $sUrl = oxRegistry::get( "oxUtilsUrl" )->processUrl( $sUrl );

            oxRegistry::getUtils()->redirect( $sUrl, false );
        }
    }
protected function _checkForErrorsToRedirect()
    {
        if ( oxRegistry::getSession()->getVariable( 'pm_init_data' ) ) {
            $sUrl = oxRegistry::getConfig()->getShopCurrentUrl() . "cl=payment";
            $sUrl = oxRegistry::get( "oxUtilsUrl" )->processUrl( $sUrl );

            oxRegistry::getUtils()->redirect( $sUrl, false );
        }
    }
protected function _checkForErrorsToRedirect ( ) { if ( oxRegistry :: getSession ( ) -> getVariable ( 'pm_init_data' ) ) { $ sUrl = oxRegistry :: getConfig ( ) -> getShopCurrentUrl ( ) . "cl=payment" ; $ sUrl = oxRegistry :: get ( "oxUtilsUrl" ) -> processUrl ( $ sUrl ) ; oxRegistry :: getUtils ( ) -> redirect ( $ sUrl , false ) ; } }
Check session for init error and redirect to payment step is any found.
The error or order declination entries are set during order confirmation.
This data is used on payment step ho inform user and handle payment forms and it is always unset there.

@codeCoverageIgnore
Check session for init error and redirect to payment step is any found . The error or order declination entries are set during order confirmation . This data is used on payment step ho inform user and handle payment forms and it is always unset there .