To add PayPal, you need to configure the settings on the payment gateway side and add the module in BILLmanager.
Configuring the payment method
To accept payments via PayPal BILLmanager uses the Website Payments Standard mechanism and checks payments via IPN notifications. Log in to PayPal to activate IPN notifications: Profile → Profile and settings → My selling tools → Getting paid and managing my risk → Instant payment notifications — Update. Enter the URL: https://<BILLmanager_URL>/mancgi/ppresult.
When a client makes a payment PayPal addresses BILLmanager to pass the transaction completion information. You can find all the notifications that were sent to the billing system on the "IPN history" page (the name may vary depending on a selected language).
You can set up additional payment parameters in the following sections:
- Profile → Profile and settings → My selling tools → Getting paid and managing my risk → Block payments — Update.
- Profile → Profile and settings → My selling tools → Selling online → Website preferences — Update.
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: "PayPal".
- 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:
- Email — merchant email in PayPal.
- Test mode — select the check box to activate a test mode for this payment method. The system wont charge client, but will process the payments correctly. You need to register a new account at developer.paypal.com.
- Logo URL — URL of the providers logo. Clients will see the logo on the payment page. The recommended size is 150х50 pcs.
- 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
PayPal has the following log files:
- /usr/local/mgr5/var/pmpaypal.log — configuration details of the payment method.
- /usr/local/mgr5/var/pppayment.log — payment log.
- /usr/local/mgr5/var/ppresult.log — payment check upon receiving an IPN message
Possible issues
When crediting payments you may face the issue if the notifications passed by PayPal (in the IPN history) differ from the notifications in the ppresult.log log file. To resolve the issue, configure IPN notification encoding in PayPal: Profile → Profile and settings → My selling tools → More selling tools → PayPal button language encoding.