Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.05 KB

File metadata and controls

33 lines (22 loc) · 1.05 KB

License

paypay-sample-ecommerce-backend-python

This is a python based implementation of PayPay's SDK. For the demonstration purpose we have used a simple Flask server with polling library to create QR code link and to check the order status of a QR code

Install Requirements

$ cd server/python
$ pip install -r requirements.txt

Add API Keys to environment

$ export API_KEY="REPLACE_WITH_YOUR_API_KEY"
$ export API_SECRET="REPLACE_WITH_YOUR_SECRET_KEY" 
$ export MERCHANT_ID="REPLACE_WITH_YOUR_MERCHANT_ID" 

Run Flask API server

$ flask run

You should now have the API server running on http://localhost:5000

Cloud deployment

Additionally to trying out this application locally, you can deploy it to a variety of host services.

Deploy with Heroku