### Configuring iPay Payment Plug-in

iPay is a leading online payment solutions provider in China.

To start accepting online payments using the iPay services, first of all you need to set up the Merchant account at iPay and obtain your Merchant ID and the iPay server URL.. Please, remember that the private key you enter while your Merchant account registration must be entered later into the iPay plug-in configuration form, so please make sure that this private key is entered correctly and exactly coincides with the one you have entered for your Merchant account.

Important: After your iPay Merchant account is set up, you should pass to the iPay server the Callback URL, which is shown on the iPay plug-in configuration form, in HSPcomplete. Please, log in to the iPay Merchant Interface and specify the callback URL. This URL is necessary for for iPay gateway to return the response on transaction processing result.

The iPay plug-in implemented in HSPcomplete supports transactions of Sale type - a single-step transaction without pre-authorization.

Note: Please make sure that customers are always returned to your HSPstore page after a payment is made. Otherwise, the HSPcomplete billing system will be unable to process a customer's order.

After the plug-in is configured, you can activate it and start accepting payments in your HSPstore via iPay.

To configure the iPay plug-in:

1. Click the Edit button on the plug-in screen. Fill the form that appears:
   1. Enter the iPay server URL (the URL should be obtained at iPay) into the Server URL field.
   2. Type your iPay Merchant ID into the Merchant ID field.
   3. Enter the private key you have entered during your iPay Merchant account registration into the Private Key field.
   4. 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.
   5. 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