View Single Post
  #5  
Old 10-14-2014, 12:21 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Barclays EPDQ payments not working

Hi Roger!

Our integration is done according to https://mdepayments.epdq.co.uk/ncol/ePDQ_e-COM-BAS_EN.pdf guide. Maybe something changed recently and URL you are talking about is indeed correct.

Could you please go to the classes/XLite/Module/XC/EPDQ/Model/Payment/Processor/EPDQ.php file and replace there the following piece of code:
PHP Code:
protected function getFormURL()
    {
        return 
$this->getSetting('test')
            ? 
'https://mdepayments.epdq.co.uk/ncol/test/orderstandard.asp'
            
'https://mdepayments.epdq.co.uk/ncol/prod/orderstandard.asp';
    } 

with the next one:

PHP Code:
protected function getFormURL()
    {
        return 
$this->getSetting('test')
            ? 
'https://payments.epdq.co.uk/ncol/test/orderstandard.asp'
            
'https://payments.epdq.co.uk/ncol/prod/orderstandard.asp';
    } 

After that, re-deploy your store.

If it starts working correctly, please let me know and we will update an integration.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote