PayPal configuration |
Top Previous Next |
What do I need?
PayPal settings in Kentico CMS 3.1 or higher
Before you can offer customers to use PayPal payment gateway you will need to do some necessary settings:
Please note:
How does it work?
IPN - Instant Payment Notification
It’s easy to spoof the return URL you sent to PayPal since it’s visible on the query string. Therefore a user could simply type the Confirmation Url in directly and you should not confirm the order at this point. You can manually check for orders on the PayPal site or wait for PayPal’s confirmation e-mails etc. all of which let you know for sure that the order was processed in a ‘manual’ way.
To automate this process, PayPal can optionally ping you back at another URL with order completion information. It uses a mechanism called Instant Payment Notification (IPN) which is essentially a web based callback mechanism that calls a pre-configured url on your site. IPN must be enabled on the PayPal site and when enabled IPN sends a confirmation to you at this url after the order was processed. PayPal then expects a return from you within a certain timeframe (a few minutes) and return a response to you to confirm you that the customer has paid. To do this you have to POST the data back to PayPal by echoing back all the form data that PayPal sends to you. IPN is optional, but it’s a requirement if you need to confirm your orders immediately with your customers.
While using the PayPal payment method, a customer is not required to fill any additional information in the last step of the checkout process. After the "Finish payment" button is clicked she is redirected to the PayPal payment gateway to finish payment:
|