Installation process
$ git clone https://github.com/trinanda/school_payment.git
$ cd school_payment
$ pip3 install -r requirements.txt
- go to this URL: https://developer.paypal.com/
- Log into Dashboard
- On Sandbox tab go to Accounts
- Usually there has two's account there on is the business type followed by [email protected] and the other one is personal account type followed by [email protected].
- If there has no account you can go create one for business type and the other one for personal type account.
- Make sure you have done the steps above.
- On the business type account click Profile
- Then go to API Credentials
- Click on your App name
- There you can see the Client ID and the Secret which is hide that you can click show.
$ export CLIENT_ID=YOUR_PAYPAL_CLIENT_ID
$ export CLIENT_SECRET=YOUR_PAYPAL_CLIENT_SECRET
$ flask run