paypal-rest-api-example icon indicating copy to clipboard operation
paypal-rest-api-example copied to clipboard

Example code from https://www.evoluted.net/thinktank/web-development/using-paypals-rest-api-with-php-and-mysql

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