To add Onpay, you need to configure the settings on the payment gateway side and add the module in BILLmanager.
Configuring the payment method
Log in to Onpay and enter the following configuration details:
- URL API — enter the URL: https://<BILLmanager address>/mancgi/onpayresult.
- Method of forwarding requests to API — POST.
- API type — Https2.
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: "Onpay".
- Integration settings. Specify the data for integration:
- Merchant login — login for API and payment form from your Onpay Client area.
- Secret key — API password (the secret_key parameter) from your Onpay Client area.
- Payment method settings. Configure internal (within BILLmanager) parameters of the service payment module. For more details, see How to add a payment gateway module.
Additional information
Refund
Refund is not supported.
Logging
Onpay has the following log files:
- /usr/local/mgr5/var/pmonpay.log — configuration details of the payment method.
- /usr/local/mgr5/var/onpaypayment.log — payment log.
- /usr/local/mgr5/var/onpayresult.log — responses from the payment gateway.