Skip to content

tozielinski/pp-php-ec-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple PayPal REST API example with PHP (and AJAX)

Project status: active – The project has reached a stable, usable state and is being actively developed. Project releases Project contributors Project license

Usage

You have to create PayPal REST sandbox credentials and copy/move config/Config.php.sav to config/Config.php. Insert the credentials into config/Config.php as client_id and client_secret for the correct environment.

Attention

the approval window will not close automatically, because the return_url is missing in the payload/payment_source/experience_context! After the approval, close the tab or window manually and go back to the checkout-window.

About

This is a simple PayPal (Standard Checkout) integration using PHP and REST API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages