Skip to content

mioyokohama/paypay-sample-ecommerce-backend-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PayPay Sample Ecommerce Backend

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%