solancer / paypay-sample-ecommerce-backend-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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" 

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

About

License:Apache License 2.0


Languages

Language:Python 100.0%