### Configuring ePDQmpi Payment Plug-in

ePDQ is a credit card payment service provided by Barclaycard Business (UK). The ePDQmpi plug-in implemented in HSPcomplete provides integration with MPI (Merchant Server Plug-In) solution.

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

- Sale - a single-step transaction without pre-authorization;
- Credit - a transaction was finished, but after this the amount was refunded.
- Preauth - the purchase amount is being reserved and the transaction suspended till authorization.
- PreauthReversal' - a transaction cancelled on the 'Preauth' stage.
- Capture - the reserved amount was withdrawn after a transaction authorization.
- Capture Reversal' - a transaction was cancelled on the 'Capture' stage, but before a transaction was actually finished.

To start accepting payments using the ePDQmpi 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 processor URL. You will need this data to configure the HSPcomplete ePDQmpi plug-in in Provider Control Center.

To configure the ePDQmpi plug-in:

1. Enter the ePDQmpi payment server URL into the Server URL field. The default ePDQmpi transaction server URL is https://secure2.epdq.co.uk:11500/

   Note: You can view all the transactions effected at your store in the ePDQmpi merchant interface at its default address (https://secure2.epdq.co.uk/cgi-bin/ClearCommerce_Engine). You have to fill in the following fields to log in to the merchant interface: User ID, Password, Client and Parent Client. These match your account registration data: user ID is your merchant ID, client is your client ID and password is the same as your registration one. You are to leave empty the Parent Client field.

2. Enter your merchant ID into the Merchant ID field.
3. Type in your store ID into the Client ID field.
4. Type in your Password obtained after registration at Barclaycard into the Password field.
5. Specify at least one credit card type to be accepted by the ePDQmpi payment gateway from the Available credit card types menu. The following card types are accepted by ePDQmpi: MasterCard and Visa.To select a credit card click and move it to the Supported Card Types menu using the >> button. To select several card types in series, hold down SHIFT, and then click the first and last card types of the group you wish to add to the Supported Card Types list. To select several card types that are nonadjacent in the list, hold down CTRL, and then click the credit card types you need.
6. Select the Preauthorization enabled box if you want to have an opportunity to perform additional check before withdrawing money from credit cards. In this case the available credit from the customer's credit card is frozen by the amount of the transaction for the period of checking and transaction is pending authorization.
7. 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.
8. 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.
9. Click the Update button if the configuration is complete or Cancel if you want to abort the plug-in configuration.

Please send us your feedback on this help page