Integration with Barclaycard's website payment solution (also called ePDQ) has now been added to the system. This allows you to direct customers to the ePDQ page hosted by Barclaycard and accept credit card payments. You do not need to worry about full PCI DSS compliance because the payment page is hosted by them.


Note: REC catches payment statuses 5 & 9 as successful payments.


To set this up:


  • Sign up to Barclaycard
  • Barclaycard will send you login credentials including the PSPID and password
  • Login using the credentials given

Most default values do not need changing, but you need to ensure the following values are set:


  • Go to Configuration > Technical Information
  • Go to the Global Transaction Parameters tab
  • Default operation code = SALE
  • Processing for individual transactions = Always online (Immediate).
  • Click Save
  • Go to the Data and Origin Verification tab
  • SHA-IN pass phrase = Enter a self-generated random 32-character pass phrase here. We suggest using a random generator such as Lastpass (you can specify 32 characters when generating the code on their site). Make a copy of this as you will need it later on.
  • Click Save
  • Go to the Transaction Feedback tab 
  • In the section HTTP redirection in the browser, set the following information replacing site.com with your domain URL
  • Accepturl = https://www.site.com/thanks.php
  • Declineurl = https://www.site.com/checkout.php?failed=yes
  • Cancelurl = https://www.site.com/checkout.php?cancel=yes
  • Tick "I would like to receive transaction feedback parameters on the redirection URLs."
  • In the section Direct HTTP server-to-server request, set the following information:
  • Timing of the request = Always online
  • If the payment's status is "accepted", "on hold" or "uncertain" = https://www.site.com/pages/barclaycard_epdq_ipn.php  

(replacing site.com with your domain URL)

  • If the payment's status is "cancelled by the client" or "too many rejections by the acquirer" = https://www.site.com/pages/barclaycard_epdq_ipn.php  
(replacing site.com with your domain URL)
  • Request method = POST
  • In the General section, set the following
  • Tick "I would like Barclaycard to display a "processing" message to the customer during payment processing."
  • Tick "I would like Barclaycard to re-launch the "end of transaction" (post-payment request/redirection) process if required."
  • In the Security for request parameters section, set the following:
  • SHA-OUT pass phrase = Enter the SHA-IN pass phrase you copied earlier
  • Click Save
You have now finished setting up the Barclaycard information.
  • Go to your website > Admin > Connect > Payment Processors > Barclaycard ePDQ
  • Enter your Barclaycard PSPID and SHA In pass phrase that you copied earlier
  • Click Update Settings
  • Go to Admin > Payment Processors Manager
  • Edit the Barclaycard EPDQ payment processor with your preferences. You can use test mode to check the checkout works without users seeing it.
  • Once you are happy, set the status of this payment processor to on and mode to live.
  • Perform your final checks to make sure it works as expected.