All code examples are for Demo purposes only. Source code covers basic and simple integration of Checkout 3.0 in PHP with comments and links to the official public documentation. This code is not production-ready and should not be used in any production environment.
Dependencies:
- php 8
- composer
Download and install composer from https://getcomposer.org/download/
Install all packages required
$ php composer.phar install
Add your testing CLIENT_ID and CLIENT_SECRET to .env file
From the root directory run
$ php -S localhost:8000
Open http://localhost:8000 in your browser