PayPal

From ISPWiki

Jump to: navigation, search

Contents

PayPal

To allow customers making payments by PayPal BILLmanager uses "Website Payments Standard" and verifies payments using the IPN messages.

PayPal settings

You need to create a PayPal merchant account to accept payments.

Go to "Profile"->"More Options"->"Payment Receiving Preferences" and "Website Payment Preferences" to configure payment parameters.

For example, to allow payments from customers who do not have a PayPal account, go to the "Website Payment Preferences" page to activate the "PayPal Account Optional" parameter (it must be "on").

BILLmanager settings

  • API URL - https://www.paypal.com/cgi-bin/webscr or https://www.sandbox.paypal.com/cgi-bin/webscr for test mode (you need first to create an account at developer.paypal.com).
  • Logo (URL) - URL to the logo that will be displayed on the payment page. The maximum allowed dimension is 150*50.
  • Invoice email - email address that you provided when registering at PayPal.

Technical notes

The PayPal module logs its data into the following files:

  • pmpaypal.log - payment module log file,
  • pppayment.log - payment log file,
  • ppresult.log - payment verification log file when an IPN message is received.

Once the payment is made PayPal sends transaction processing results to BILLmanager. All the massages PayPal sends to BILLmanager can be found in the "IPN history" section (the name may vary depending on your interface language). With logging level 9 on, BILLmanager logs the information from PayPal into the log file. Errors may occur if the messages sent by PayPal (in the IPN history) differ from those of the log file.

The most common problem is that with encoding of input/output data. You can avoid this by changing the IPN message encoding into UTF-8 in the merchant profile properties.

Go to "Profile"->"More Options"->"Language Encoding"-> to click the "More Options" button.

Was this helpful? Yes | No
Views
Personal tools