Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 642 Bytes

readme.md

File metadata and controls

10 lines (8 loc) · 642 Bytes

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