PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

9Lessons: Payment System with Paypal

Note: This article was originally published at PHPDeveloper on 16 March 2011.
PHPDeveloper

On the 9Lessons blog today Srinivas Tamadashows you how to create a simple PayPal interface between their API and your site to make accepting payments easier.

I received a tutorial requests from my reader that asked to me how to implement payment gateway system with Paypal API. In this post I want to explain how to work with Paypal Sandbox test accounts for payment system development and sending arguments while click buy now button. It's simple and very easy to integrate in your web projects.

He includes the SQL to create a basic database for storing product and sales information (as well as a bit of user data linked to them) as well as instructions on creating the accounts you'll need on the PayPal side. The script creates a form that takes the payment information and pushes it to a script on the PayPal side for validation and charging.