Last update 24/07/2018

1. Introduction

In this guide we explain you how to:

  • Register and set up your ePDQ test account.
  • Create test transactions.

2. Test transactions and their results

2.1 Test URLs

If you'd like to start performing test payments but haven't yet fully completed the integration into your website (when you choose an operation mode requiring integration, e.g. e-Commerce), you can do so from a test page on our server which represents the last page of your shopping basket.

The (hidden) fields that normally have to be initialised automatically by your application are displayed, initialised with default values. You can change these values (e.g. entering your own test PSPID) to simulate different cases/payments. The test page on our server for the mode you are working in is available in the “Test info” tab of your “Technical information” page.

If you've completed the integration on your website, you can perform the test payments from your website using the action URLs that can be found in the relevant documentation for the operation mode (e-Commerce, DirectLink etc.) you are using (e.g. for e-Commerce).

2.2 Test cards

When you make test payments in the testing environment, you need to use a credit card number with a valid format.

You can use the VISA test card number 4111111111111111 with any expiry date in the future.

This card should only be used in the test environment. Please refer to the “Test info” tab on the Technical Information page for a list of test card numbers for other card brands.

2.3 Simulate results

As the transactions are not submitted to the acquirers/banks in the test environment, our system simulates transaction results depending on the payment amount or depending on a specific card number.

You can select which of the two methods you want to use in the “Test info” tab on the Technical information page, in the “Transaction result simulation” section.

Transaction result
Based on amount Based on card number
Amount Amount x100
Successful 0 - 9000 0 - 900000 Any other card number
Refused > 9000 > 900000 4111113333333333
Uncertain 9999 999900 4111116666666666

2.4 Consult transaction results in the back office

After you've created a transaction, you can view the details in your ePDQ account (the back office):

  1. Log on and click the "View transactions" link in the "Operations" menu.
  2. Enter your selection criteria. The first time, enable all the status boxes and leave the other fields with their default values.
  3. View the result list.

For more information go Use your ePDQ account and Consult your transactions.

*Call Charges: The following is a guide to call charge information from Business landlines within the UK.

Barclaycard is a trading name of Barclays Bank PLC. Barclays Bank PLC is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority (Financial Services Register number: 122702). Registered in England. Registered No. 1026167. Registered office: 1 Churchill Place, London E14 5HP

Barclays Bank PLC subscribes to the Lending Code which is monitored and enforced by the Lending Standards Board. Further details can be found at escape arrow

© Barclaycard 2016