X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Barclays EPDQ payments not working (https://forum.x-cart.com/showthread.php?t=70195)

xanadude 10-09-2014 05:33 AM

Barclays EPDQ payments not working
 
Hi Guys

I have spent several days going through this with Barclays and it seems that when the order is sent to their system its being directed to the wrong URL

its going to https://mdepayments.epdq.co.uk/ncol/prod/orderstandard.asp

and should be
https://payments.epdq.co.uk/ncol/prod/orderstandard.asp

Can you please check into this

xanadude 10-11-2014 03:17 AM

Re: Barclays EPDQ payments not working
 
some advice guys as im sure this is not just me that will have this problem as its the module that's linking to wrong place

qualiteam 10-14-2014 04:24 AM

Re: Barclays EPDQ payments not working
 
Is this problem with the module for X-Cart 5?
http://www.x-cart.com/extensions/addons/barclays-epdq-payment-module.html

Or do you face it on your X-Cart 4 store?

xanadude 10-14-2014 10:50 AM

Re: Barclays EPDQ payments not working
 
Sorry X5

tony_sologubov 10-14-2014 12:21 PM

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.

xanadude 10-14-2014 12:44 PM

Re: Barclays EPDQ payments not working
 
Hi Tony -
This was the information given to me by the Barclays EPDQ Support team

I have a big problem as I cannot redeploy the store since the Amazon S3 problem that was never resolved - it will just fail.

I have made the changes but cannot test. This is open with your support

xanadude 10-14-2014 12:52 PM

Re: Barclays EPDQ payments not working
 
OK Tony what I have done to get round repolling the site for now is put the changes into the

/var/run/classes/XLite/Module/XC/EPDQ/Model/Payment/Processor/EPDQ.php

This then seems to direct to the correct page as the payment options now show

tony_sologubov 10-15-2014 04:34 AM

Re: Barclays EPDQ payments not working
 
Hi Roger!

Thanks for testing of Barclay EPDQ. I will post the suggestion to the team.

As for the problem with S3, as I see from the communication with support team, the problem is being investigated again, so please reply to our guys and they will dig into it.

Tony.


All times are GMT -8. The time now is 02:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.