Welcome to the setup guide.
To get this plugin setup will only take around 30 mins, this guide will be broken down into steps. You must first do a test transaction using the test ePDQ account. The ePDQ team will supply you with two logins, one for test and the other for live. You can get to both the test and live logins from here.
It is always best practice when setting up a payment gateway to do this in test mode first and run several orders before switching to live mode.
Attention! Please do not skip this note!
Before and after you start following our setup guide, please do make sure that you have done everything in this list:
You are using a test ePDQ account and you will apply everything below on your test ePDQ account.
I have followed Step#1 - where I activated my plugin and license key.
I have followed Step#2 - where I have logged in to my test ePDQ back-office account.
I have followed Step#3 - where I created an API user
I have followed Step#4 - where I decided to either pick SHA-256 or SHA-512 as my SHA encryption method and it matches what I chose in my plugin settings.
I have followed Step#5 - where I added the SHA-IN passphrase key and that it matches what I placed on my plugin settings.
I have followed Step#6 - where I made sure to tick the required checkbox, placed my SHA-OUT passphrase key and it matches what I placed on my plugins settings, and I chose the Dynamic e-Commerce parameter options correctly.
I have followed Step#7 - where I made sure that 3D secure is active on the cards that I wish to use on my website.
I have followed Step#8 - where I made sure that I processed a sample transaction and it was processed successfully.
Step 1 - Plugin settings.
Install the plugin & activate the license key, once this is done you want to navigate to the plugin settings page, this can be found in the WooCommerce settings:
WooCommerce > Settings > Payments > ePDQ Direct Link Checkout
The key items here for the setup are in the red boxes.
These settings will need to be matched with what you enter in the ePDQ back office.
Step 2 - Login to the test ePDQ back office.
The next set of items are done in the ePDQ back office, you can login to the test account here. Once logged in you need to navigate to the technical settings area. It is important to note that whatever changes to make in the test account you must match in the live account.
From this area we have access to all the sections we need to change/edit.
As mentioned in the welcome section above its important to make sure you use the plugin in test mode and use the ePDQ test account, linking the plugin in test mode to the live ePDQ account will not work.
How to know if you are using the ePDQ test account? When you have logged in look to the Barclaycard logo, to the right of it you will see TEST in red like this:
If you don’t have access to the test account, you/your client will need to email the ePDQ team here: firstname.lastname@example.org and ask for logins again. Its also important to note that if the ePDQ account is new you won’t be able to switch to live mode until you have done several test orders and applied to go live (You will see the option the main ePDQ Home screen).
Step 3 – Create an API user.
In this section, we will create the API user which the plugin will use to make API payment calls to the ePDQ system. You will need to go to Configuration > Users.
Here we want to add a new user, clicking the new user button shows us the following:
The most important element here is the tick box in the red box. This will make this new user work with the API.
Enter in your desired UserID, User’s name and email address.
You will need to enter in your password, the one you signed in with. Once you do that you will be able to set this new API users password in another screen.
Step 4 - Global security parameters.
In this section we pick and match the SHA encryption method we set in the plugin settings.
We recommend using SHA-256 or SHA-512.
Step 5 - Data and origin verification.
Next item here is the SHA-IN, this must match what you have in the plugin settings, We recommend that you use letters and numbers only in this setting and that it has a maximum of 16 characters.
Note: You only need to place the 'SHA-IN pass phrase' field under the 'Checks For Barclaycard Direct Link' section.
Step 6 - Transaction feedback.
Again, in this section we have only two items. The first one is to make sure that the tick box labeled "I would like to receive transaction feedback parameters on the redirection URLs." is ticked.
Without this ticked, the ePDQ system won't send data back to the website. This means you will get orders with pending payment and then fail. This is an important setting.
As a note there should be nothing in the four fields above this tick box, the plugin will do all the hard work of setting these URLs on its own.
The next item here is the SHA-OUT, you will need to scroll down a little to see the option.
Again, this must match what you have set in the plugin settings, we recommend that you use letters, numbers and it should also have a maximum of 16 characters.
The final item here is parameters which will be sent back to the website.
You only want the following in the selected section:
Step 7 – 3D Secure.
This is very important if you sell products to EU customers. From 14 September 2019, all EU (Brexit has no effect on this) credit card transactions could be rejected if your store does not have 3D secure setup.
With the enforcement of Strong Customer Authentication (SCA) & Payment Services Directive (PSD) it is important to get the ePDQ back-office setup and ready, thankfully this is quite simple. Navigate to
Advanced > Fraud detection
And you will see something like the following:
The key here is to make sure that 3D secure is active on the card brands you wish to use on the website.
Step 8 - Test, Test & test.
Well done, you have now finished the setup of the plugin! Now the important thing to do is test the payment gateway a few times before going live.
If you have any errors/issues you first want to check the ePDQ error log section.
In the description field, you will most likely find an error code, something like unknown order/1/r if you do you can have a look here at the troubleshooting error codes. There you will find out what the issues are and what is needed to fix it.
If you are still having issues then enable the plugins debug log in the settings.
Run some test transactions and if the plugin finds something wrong with the plugin setup it will log this and tell you how to fix this, you can find the log buy going here:
WooCommerce > Status > Logs
Here we can see the log saying that transaction is confirmed, no issues found.
If you still face issues, then send a support ticket and we will have a look for you. Please be ready to send screenshots of the plugin & ePDQ settings and the debug log.