Setting up Multiple ePDQ accounts for multi-currency


It is possible to use multiple ePDQ accounts on our plugin so that you can implement multi-currency for your WooCommerce store. Here are the steps to do it:

Step 1 – Requirements.

Make sure that you have followed the setup guide first using your primary (GBP) ePDQ account.

Note: Kindly perform successful test transactions on your test ePDQ account first so that the ePDQ team can see that the transactions are going through and that you are good to go for your live ePDQ account. You can see this tutorial on steps for going live.

Step 2 – Adding the custom code.

Before proceeding, please create a backup of your site, as you will be editing your theme files as a preventive measure if you have accidentally deleted any code. You can ask your hosting provider to backup your site for you.

You would need to use the code below and replace the required credentials for your secondary test ePDQ account below:

define( ‘ePDQ_apiLogin’, ‘#replace with PSPID for account#’ );
define( ‘ePDQ_apiUser’, ‘#replace with user id for account#’ );
define( ‘ePDQ_apiPassword’, ‘#replace with password for account#’ );

Once you have replaced it with the correct information, copy and paste the code on your theme’s functions.php file.

You can access the theme’s functions.php file from your:
WordPress dashboard > Appearance > Theme Editor > click the functions.php from the file selection.

After that, kindly click the Update File button for the changes to be applied.

Alternatively, you can also use a third party plugin like the Dessky Snippets plugin to add the code instead of manually adding it on your theme’s function.php file.

Step 3 – Configuring the secondary ePDQ account.

Run through the setup guide again, only for this time you would do it on your secondary ePDQ account.
Skip step #1 on the setup guide and only step #2 up to step#7.

Note: Ensure that the SHA-IN and SHA-OUT that you have used on the primary ePDQ account are also the same on the secondary ePDQ account.

Step 4 – Make successful test transactions.

Create a test product and see if the test transactions made would be successful. After multiple attempts, you are now ready to configure your live accounts.

Step 5 – Going Live.

You would need to do what you did on your test ePDQ accounts and transfer it manually on your live ePDQ accounts. To ensure that everything goes well, run through the setup guide again to avoid any issues with the configuration.

Make a few rounds of live transactions before going public, as you will now be dealing with real money.

Congratulations! You have now set up a multi-currency on your WooCommerce Store.

How do you know if you have another multicurrency account?
PSPID accounts that start with MC are only allowed to work with Euro / USD.

What if there is an error?

That’s a bit unfortunate, but all problems in this world can eventually be fixed. Please do take a look at our Troubleshooting Guide, and hopefully, this would resolve the issue for you; you could also contact our support, and one of our friendly support team members will sort out these issues for you.

Was this helpful?

Barclaycard ePDQ Direct Link

Don't already have the plugin? Get access now.

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request