forked from LiveCarta/PayPal-PHP-SDK
- Copied files required for Rest API SDK - Removed PPApiContext and directly connected APIContext with PPConfigManager - Removed duplicate data storage of configuration and credentials. - Code Style Fixes - Remove build.xml file as it is not required anymore - Updated the samples - Updated the documentations
Rest API Samples
This sample project is a simple web app that you can explore to understand what the payment APIs can do for you.
To try out the sample, run composer update --no-dev from the rest-api-sdk-php folder and you are all set.
The sample comes pre-configured with a test account but in case you need to try them against your account, you must
- Obtain your client id and client secret from the developer portal
- Update the sdk_config.ini file with your new client id and secret.
If you are looking for a full fledged application that uses the new RESTful APIs, check out the Pizza store sample app at https://github.com/paypal/rest-api-sample-app-php