EPDQ One Page Checkout Alias Gateway
EPDQ One Page Checkout Alias Gateway
Table of Contents
1 .......................................................................................... 3
Introduction
2 ..........................................................................................
Implementation scenario 4
3 ..........................................................................................
Step 1: Alias Gateway 5
4 .......................................................................................... 11
Step 2: DirectLink
5 Appendix:..........................................................................................
Alias update using the Alias Gateway 12
1 Introduction
The Alias Gateway is an interface that allows merchants to post transactions to the ePDQ platform
by using a payment page they build themselves.
Advantages
- The merchant has full control over the look & feel of the payment page, including the check-out
sequence;
- ePDQ is completely invisible in the payment process;
- Seamless integration for various checkout scenarios including one-page-checkout;
- Merchants can offer upselling and cross-selling on the final checkout page;
- All credit card brands (VISA, MasterC ard, American Express, Diners etc.) are supported, as well as
Maestro and Bancontact MisterC ash, Direct Debits and PostFinance C ard.
Some of the features covered in this document may not be available in your chosen ePDQ
subscription. If you are unsure, please access our website to see what is included with your
subscription type: http://www.barclaycard.co.uk/business/accepting-payments/epdq-ecomm/
If you wish to take advantage of any of these extra features please contact ePDQ Support on
[email protected].
2 Implementation scenario
("Subm it Card inform ation via Alias Gatew ay" is not applicable for PostFinance Card)
REMARK
No operation is performed on the card in the first step. Our system simply performs a basic
format validation, but cannot guarantee that the card is still valid, or has sufficient funds to
proceed.
Optionally for credit cards and always for payment methods like Maestro and Bancontact
MisterC ash, with 3-D Secure an additional flow is applied (cf. DirectLink 3-D guide).
REMARK
It is extremely risky for a merchant to send credit card information to his own website, both from a
security as well as a legal perspective!
It must be ensured that the data are always only sent to the ePDQ platform.
* The merchant can choose whether to send the expiry date in a single field (ED) or in two fields;
both formats are supported. If both are submitted, the “ED” field will prevail.
More information about these fields can be found in your ePDQ account. Just log in and go to:
Support > Integration & user manuals > Technical guides > Parameter Cookbook.
Note
If any of the mandatory input fields, e.g. ED (expiry date), contain no or invalid data, no alias will
be returned.
The account number (regular or IBAN) has to be sent with the CARDNO field.
When relevant, the BIC (bank code) must be sent with the same parameter: BIC
The BRAND input field must contain either 'Direct Debits NL', 'Direct Debits DE' or 'Direct Debits
AT'.
The expiry date and C VC fields should be left empty.
Our system will use the SHA algorithm as defined in the Global security parameters of the
merchant's Technical information page.
IMPORTANT
As the merchant does not have the card number (C ARDNO), cardholder name (C N), C VC and
expiry date (ED) at his disposal – which is the underlying reason for the Alias Gateway – these
parameters should of course NOT be included in the SHA.
The merchant can choose whether or not to submit the parameter BRAND in the form. If the
BRAND is submitted, it has to be included in the SHA calculation.
Example
Parameters (in alphabetical order)
AC C EPTURL: https://www.myshop.com/ok.html
EXC EPTIONURL: https://www.myshop.com/nok.html
PSPID: test1
String to hash
AC C EPTURL=https://www.myshop.com/ok.htmlMysecretsig1875!?EXC EPTIONURL=https://
www.myshop.com/nok.htmlMysecretsig1875!?PSPID=test1Mysecretsig1875!?
Note:
More information about these fields can be found in your ePDQ account. Just log in and go to:
Support > Integration & user manuals > Technical guides > Parameter Cookbook.
Please refer to the e-Commerce documentation for more details about SHA.
3.4 Re-submission
When resubmitting data (e.g. because the first attempt was unsuccessful), the cardholder does not
have to re-enter previously validated details. For example, if the card number is OK, then the
browser will submit the “X-ed” card number, and our system will match it with the one stored for the
previous request.
To achieve this, the merchant must submit the ORDERID with every request. The same ORDERID is
sent back every time. If a new ORDERID is used, the error code 5555554 will be returned.
NC ERROR
5555554 Incorrect ORDERID (within 2 hours after each submission)
55555555 General error
50001184 SHA_IN mismatch
50001186 *Operation not allowed
(when the merchant sends an ORDERID for which an alias already exists)
50001187 *Operation not allowed
(when the merchant sends an alias that already exists)
50001300 Wrong brand specified (Direct Debits)
50001301 Wrong bank account format (Direct Debits)
NC ERRORC N
60001057 Name is missing
50001174 Name is too long
NC ERRORC ARDNO
30141001 Invalid card number
50001069 Brand and card number do not match
NC ERRORC VC
50001090 C VC missing or too short
50001179 C VC too long
50001180 C VC contains non-numeric information
NC ERRORED
50001181 Expiry date contains non-numeric information
50001182 Invalid expiry month
50001183 Expiry date must be in the future
31061001 Expiry date empty or wrong format
4 Step 2: DirectLink
Using the Alias generated with the Alias Gateway, you may then submit a DirectLink transaction
using our standard DirectLink implementation. Please refer to the DirectLink documentation for
implementation instructions.
This mecanism is also compatible with DirectLink 3D, as documented in DirectLink with 3-D
Secure supplement.
For more information about Alias usage, see the Alias Manager documentation.
Note
If the merchant wants to simply update the cardholder name, it is not sufficient to only supply the
new name and the existing alias. The X-ed card number must also be sent in the C ARDNO field.
The C VC is not necessary.
In the response, the STATUS output field will inform the merchant of the alias update (status 2).
For more information about Alias usage, please see our Alias Manager option guide.