To use the Alipay payment module, register in the payment system and configure the module on the BILLmanager side.
Configuring BILLmanager
The module is installed from the latest available version of the product and requires an update of the BILLmanager platform, because the module version cannot be higher than the platform version.
To create a payment module, enter Provider → Payment methods → click Add. The payment module adding wizard consists of the following steps:
- Select a payment methods: "Alipay".
- Integration settings. Specify the data for integration:
Activate the Add New Client option to display a link to register with the handlers system.
Complete the form using the details of an existing client in the handlers system:
- Client — select the existing account or register a new one. If you choose "Use existing", enter the following details:
- Partner ID — partner id inside your Alipay account.
- Secret key — secret key inside your Alipay account.
- Payment gateway URL — enter the gateway for payments.
- Payment method settings. Configure internal (within BILLmanager) parameters of the service payment module. For more details, see How to add a payment gateway module.
Selecting "Add new" will redirect you to the Alipay registration form.
Note:
BILLmanager interacts with the payment system via HTTPS. To accept payment correctly you need to install an SSL-certificate on the server with BILLmanager.
Additional information
Refund
To allow for refunds navigate to Provider → Payment methods → Edit → check the Allow refund box. Refund can be made only for "Paid" payments.
Logging
Alipay has the following log files:
- /usr/local/mgr5/var/pmalipay.log — configuration details of the payment method.
- /usr/local/mgr5/var/alipaypayment.log — payment log.
- /usr/local/mgr5/var/alipayresult.log — responses from the payment gateway.