src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerOgoneDirectLinkWithAliasGateway.class.php
protected function ExecuteExternalPaymentCall()
    {
        $aParameter = $this->GetPaymentParameter();
        $sExternalHandlerURL = $this->GetPaymentURL().'?'.str_replace('&amp;', '&', TTools::GetArrayAsURL($aParameter));
        TTools::WriteLogEntry('OGONE DirectLink: called url: '.$sExternalHandlerURL, 4, __FILE__, __LINE__);
        $sResult = file_get_contents($sExternalHandlerURL);
        TTools::WriteLogEntry('OGONE DirectLink: XML response from DirectLink call: '.$sResult, 1, __FILE__, __LINE__);

        if (false !== $sResult) {
            $this->ParseXMLResponse($sResult);
        }

        return $this->PaymentSuccess();
    }
protected function ExecuteExternalPaymentCall()
    {
        $aParameter = $this->GetPaymentParameter();
        $sExternalHandlerURL = $this->GetPaymentURL().'?'.str_replace('&amp;', '&', TTools::GetArrayAsURL($aParameter));
        TTools::WriteLogEntry('OGONE DirectLink: called url: '.$sExternalHandlerURL, 4, __FILE__, __LINE__);
        $sResult = file_get_contents($sExternalHandlerURL);
        TTools::WriteLogEntry('OGONE DirectLink: XML response from DirectLink call: '.$sResult, 1, __FILE__, __LINE__);

        if (false !== $sResult) {
            $this->ParseXMLResponse($sResult);
        }

        return $this->PaymentSuccess();
    }
protected function ExecuteExternalPaymentCall ( ) { $ aParameter = $ this -> GetPaymentParameter ( ) ; $ sExternalHandlerURL = $ this -> GetPaymentURL ( ) . '?' . str_replace ( '&amp;' , '&' , TTools :: GetArrayAsURL ( $ aParameter ) ) ; TTools :: WriteLogEntry ( 'OGONE DirectLink: called url: ' . $ sExternalHandlerURL , 4 , __FILE__ , __LINE__ ) ; $ sResult = file_get_contents ( $ sExternalHandlerURL ) ; TTools :: WriteLogEntry ( 'OGONE DirectLink: XML response from DirectLink call: ' . $ sResult , 1 , __FILE__ , __LINE__ ) ; if ( false !== $ sResult ) { $ this -> ParseXMLResponse ( $ sResult ) ; } return $ this -> PaymentSuccess ( ) ; }
Send payment call to external payment provider and check if payment was successfully done.

@return bool
Send payment call to external payment provider and check if payment was successfully done .