PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

NetTuts.com: How to Process Credit Cards with PayPal Payments Pro Using PHP

Note: This article was originally published at PHPDeveloper on 8 June 2012.
PHPDeveloper

NetTuts.com has a new tutorial posted today about processing payments with PayPal using their "Payments Pro" API and a handy library that makes it pretty simple.

While one of its most popular features is the ability to simply sign in to your PayPal account to submit payments, merchants using PayPal can also accept credit cards directly just like a traditional merchant account solution would provide. PayPal calls this solution Payments Pro, and I'm going to show you exactly how you can process credit cards directly with PayPal's API using their Payments Pro web service API's.

They've broken it up into the different steps including:

  • Setting up the configuration
  • Creating a first API request
  • Sending the HTTP request to the PayPal API (via curl)
  • Parsing the response