Step 1: First create the account in Barclaycard to get PSPID. This is the id which work as affiliation name in EPQD system.
First run the integration in Test mode. Use this action url for Test Integration :
https://mdepayments.epdq.co.uk/ncol/test/orderstandard.asp
Step 2: Use the PSPID in given below to HTML code to integrate payment gateway.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<html> <head> <body> <form method="post" action="https://mdepayments.epdq.co.uk/ncol/test/orderstandard.asp" id=form1 name=form1> <input type="hidden" name="PSPID" value="epdq1060898"> <input type="hidden" name="ORDERID" value="INV-0001"> <input type="hidden" name="AMOUNT" value="1.00"> <input type="hidden" name="CURRENCY" value="GBP"> <input type="hidden" name="LANGUAGE" value="en-gb"> <input type="hidden" name="CN" value="harish"> <input type="hidden" name="SHASIGN" value="A17E918AE294AF8A72A083FE2F1383C3E7A3EE34"> <input type="submit" value="" id="submit2" name="submit2"> </form> </body> </head> </html> |
In this HTML code change the PSPID with yours and use unique Order Id. Amount to be paid, must be multiplied by 100. You can assign amount dynamicaly as per your requirement.
Currency in the order of ISO alpha code like GBP, USD etc. Language can be use like fr_FR, En_US etc.
CN represent the customer name. SHASIGN is unique string for payment order data validation.
This string is hashed with SHA-1 algorythm and always to be 40 chracters long.
After testing this intergration you can move the development to production url for real order.
Just change the ‘test’ to ‘prod’ in action url. Use this url for production: https://mdepayments.epdq.co.uk/ncol/prod/orderstandard.asp.
Hi,
I got your code. But my concern is how to validate a card.
Hi Aruna,
I don’t think they provide a card validate service, you can search for other options.