PayPal

Return to Payment Integration Page | Return to Index

The first thing to do is to setup your Instant Payment Notification URL. Login to your PayPal account, then click on the "My Account" tab at the top, then the "Profile" sub-tab, as shown below. You should have a link titled "Instant Payment Notification Preferences". Click on that option. If this option is not available, you may need to upgrade your PayPal account by linking it with a bank account or credit card.

In the Instant Payment Notification (IPN) area, there is a checkbox to check, and a textbox where you can input the full http:// or https:// URL to your "checkout_process.php" file. For example, I have osDate installed at http://www.tufat.com/date/, so I inputted http://www.tufat.com/date/checkout_process.php into this textbox.

You will probably also want your users to be directed to a "thank you" page after completing a payment. You can input this URL in the "Website Payment Preferences" section of the Profile tab. If you use checkout_process.php again, then users will be presented with a simple thank you screen (this is built in to osDate). Or, if you'd prefer to create your own thank you page, or re-direct users to a different domain altogether, you can do that as well. Your system will still be correctly notified of the successful payment by virtue of the IPN system that we've already set up. Thus, setting up Auto Return is recommended, but not required.

Finally, log in to the osDate admin panel, and edit the PayPal payment module. Leave all options at their defaul values for now, but input your PayPal email address in the "Business" field.

"

Now, when a user chooses the PayPal option for payment, they will be redirected to PayPal for payment. On successful payment, PayPal will send a response back to your server (to the checkout_process.php file), notifying your system.

Coming soon! Advanced PayPal integration by allowing the user to input their credit card information directly into osDate, and authenticating the transaction without even leaving osDate.