Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, do not hesitate to leave us an email via: [email protected]

Created: 11/08/2016 | By: Magenest | Support Portal: 


Barclays is a British multinational banking and financial services company headquartered in London. It is a universal bank with operations in retail, wholesale and investment banking, as well as wealth management, mortgage lending and credit cards. It has operations in over 50 countries and territories and has around 48 million customers. 

Therefore, Magenest has created  Barclaycard ePDQ Payment Gateway to be able to interact between Barclay bank and customers in the most convenient way.

Features For Admins

Features For Customers

System Requirements

 Your store should be running on Magento 2 Community Edition version  2.1.x., 2.2.x



Set up Barclays Account

You need to have a barclays account to use our extension. If you don't have any Barclays accounts, you can Create a new account by clicking on the following link: and choose Register

In case you already have a Barclays account, skip this step and sign in.

If you have a Barclays account, sign in to your account.

Set Configuration 


(plus) General Settings:

Go to Stores > Configuration > Sales > Payment Methods

PSID: the username you use to login to the ePDQ Merchant services pages

Hash algorithmMagento Edition hashes all data that does not require decryption by using a strong SHA-256 hashing algorithm instead of the previously used MD5.

passwords will be hashed using the new algorithm whenever they are entered by customers, and all new passwords will be hashed using the SHA-256 or SHA-512 algorithm.

Hash algorithm

Hash algorithm need to same with Hash algorithm in barclay

(Barclaycard ePDQ) Sha-out phrase can get in "Configuration->Technical information->Global security parameters"

(plus) ePDQ Hosted Payment Page integration (Recommend Integration)

Barclaycard configuration

Fill out these 3 URLs in Barclay

Go to Configuration > Technical Information > Data and origin verification.

Fill main URL in "Checks for e-Commerce"

In Barclaycard, go to Configuration -> Technical Information -> Transaction feedback -> Go to "Direct HTTP server-to-server request"  and fill the Notification and Notification Error URLs from Magento backend in.

And click in check box "Online"  

Both Notification URL and Notification error URL are HTTPs protocol. 

If using HTTP, you will not receive response from Barclay, then orders cannot handle the payment result. 

You should choose some vaiables in "Dynamic e-Commerce parameters", but should not choose all of them.  

Go to Configuration -> Technical Information -> Data and origin verification. in Barclaycard website

Fill password in "SHA-in pass phrase"

And back to Magento backend configuration, fill that pass to "SHA-in pass phrase"

Fill password in the SHA-in pass phrase 


Go to Configuration->Technical information->Transaction feedback -> Find "Security for request parameters" and fill password in the SHA-OUT pass pharse

Fill password in the SHA-out pass phrase

(plus) Barclay ePDQ Direct Link Integration: 

    If your ePDQ one subscription supports DirectLink, then you will find these extra options:

Login Barclay -> Configuration -> Users -> Click "New user"

In Create user form, after filling out your information, click "Related FQA" and click "Create" button.

You have to Click "Special for API"

All of instructions of how to get the needed information are right under each field.

When done, please press Save Config

Main Functions

         At frontend, customer can add their wanted item to cart by clicking on Add to Cart button. 

     Then, go to checkout and select Barclays ePDQ Payment 

     There are two methods for customer to pay: Barclaycard ePDQ Direct Link Payment and Barclaycard ePDQ Payment: 

     (plus) Barclaycard ePDQ Direct Link Payment:

          Customer enter compulsory information such as: Credit card number, Expiration date, Card Verification Number and click Place Order button. 

         The system will inform order number of the customer in home page and send email to confirm via email. Payment is successful!

 (plus) Barclaycard ePDQ Payment:

        Customers follow the below picture. This method is similar to Barclaycard ePDQ Direct Link Payment: 


      All of the payment's process operate in Barclaycard's payment site, not in Magento.

(plus) View Order:

 When the transaction is completed, customers can review their orders by clicking Sales > Orders >View

(plus) Set Payment Action:

After successful payment, at Payments Action tab of Barclays , the order will be updated corresponding with two options when admin set up Configuration

Authorize and Capture (Sale) and Authorize Only

If you choose Authorize Only in backend, click the Pay ID in the list above, and then choose the action you want to do:



Once again, thank you for purchasing our extension. If you have any questions relating to this extension, please do not hesitate to contact us for support.