To use the Payment.Center payment module, register in the payment system and configure the module on the BILLmanager side.
Configuring the payment method
- To receive the service ID, log in to Payment.Center, and open the Services tab.
-
Open the service edit form and enter the Notification URL: "https://domain.com/mancgi/pcresult/";
Details - Copy the Secret key. You will need it in BILLmanager.
- Click on Save.
Configuring BILLmanager
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: "Payment.Center".
- Integration settings. Specify the data for integration:
Activate the Add New Client option to display a link to register with the handler's system.
Complete the form using the details of an existing client in the handler's system:
- Service ID — enter the unique identifier with Payment.Center.
- Secret key — enter the secret key from the Payment.Center client area.
- Enable MAC — the option for additional encryption using the digital signature MAC. To enable MAC, please contact the support center of the payment gateway, and enable the option in BILLmanager.
- Recurring payments — select the checkbox to enable recurring 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.
Navigate to Provider → Payment method and complete the following fields:
- Select the payment method "Payment.Center".
- Enter the integration details.
- Enter the payment method parameters.
Redirect after payment
This payment method allows redirecting a client to a required page after payment. You can specify pages for successful and unsuccessful payments. Navigate to Provider → Payment methods → Edit → Settings and enter the URL of the pages in Successful payment return page and Failed payment return page.
Additional information
Refund
To enable refunds, navigate to Provider → Payment methods → Edit → check the Allow refund box.
Logging
Payment.Center has the following log files:
- /usr/local/mgr5/var/pmpaymentcenter.log — configuration details of the payment method;
- /usr/local/mgr5/var/pcpayment.log — payment log;
- /usr/local/mgr5/var/pcresult.log — responses from the payment gateway;
- /usr/local/mgr5/var/pcrecurring.log — recurring payments log. The file is not present if recurring payments are not enabled.