### Configuring ePDQ Payment Plug-in

ePDQ is a credit card payment service provided by Barclaycard Business (UK). The ePDQ plug-in implemented in HSPcomplete provides integration with ePDQ Cardholder Payment Interface (CPI) solution.

The ePDQ plug-in implemented in HSPcomplete supports the following transaction types:

- Sale - a single-step transaction without pre-authorization;
- Preauth - the purchase amount is being reserved and the transaction suspended till authorization.

To start accepting payments using the ePDQ service, please visit the Barclaycard Business website and set up an account with them. As your account is set up, you will receive the client ID user name, and password to log in to the Merchant interface, as well as the Barclaycard Business payment processors URLs.

Then you can configure the HSPcomplete ePDQ plug-in.

Important: Your Barclaycard Business Merchant Account Post-Configuration Necessary for the Plug-in to Work

For the plug-in to work, your callback URLs must be specified in your Barclaycard Business Merchant account profile. How you will get them? After you enter the necessary parameters in the plug-in configuration form (or you can enter anything into the required fields to make the plug-in feel like it is configured and generate the URLs, - the actual values can be entered later), the two URLs you need to pass to the Barclaycard Business side will appear on the plug-in configuration screen (the view screen, not the one for editing). These URLs are: POST URL and Allowed URL. Please copy these URLs, log in to the Merchant interface at the Barclaycard Business website using your client ID, user name, and password and do the following:

1. Enter your Client ID, user name, and password obtained on your Merchant account registration into the relevant fields. This is needed for additional verification.
2. Enter the passphrase. This can be a phrase or string, up to 16 characters. This passphrase must be later entered into the HSPcomplete ePDQ plug-in configuration form.The passphrase is the value that you pass to the encryption module on the ePDQ server.
3. Enter both the POST URL and Allowed URL copied from the HSPcomplete ePDQ plug-in screen into the relevant fields of the Merchant interface.
4. Set POST Order Result to Yes.
5. Save changes.

To configure the ePDQ plug-in:

1. Click the Edit button on the plug-in screen. Fill the form that appears:
   1. Enter the ePDQ server encryption module URL into the Server for crypt tools field.
   2. Enter the ePDQ secure payment page URL into the Server for redirecting field.
   3. Enter your client ID obtained from Barclaycard Business on your Merchant account registration into the Merchant ID field.
   4. Type your passphrase entered in the Merchant Account interface (see above, the important notes on Merchant account post-configuration, paragraph 3) into the Passphrase field.
   5. Select the type of transactions to process: if you want to make the Preauth-Capture transactions only, then check the Preauthorization enabled box, if you want to process the Sale transactions only, then leave this box clear.
   6. Key in the Button title. For example, this could be the name of payment system. This title will be displayed directly on the button for online-payment at HSPstore, on the final stage of subscription registration, when a customer selects how to pay for the services ordered.
   7. You can add both the short and the detailed description. Quick description of a payment method will be displayed below the button. The Long description of a payment method will be displayed in a separate section entitled Pay Online.
2. Click the Update button.

Please send us your feedback on this help page