Skip to content

EvolutedNewMedia/paypal-rest-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example PayPal REST API Integration with PHP and MySQL

The code in this repository is from our blog post Using PayPal's REST API with PHP and MySQL.

  • src/index.html - contains the form for making a payment
  • src/bootstrap.php - contains the configuration for the request/response
  • src/request.php - contains the request code for the payment
  • src/response.php - contains the response code for the payment
  • src/payment-successful.html - the thank you page
  • src/payment-cancelled.html - the page PayPal returns to when payment is cancelled