Skip to content

paypay/paypay-sample-ecommerce-backend-php

Repository files navigation

PHP SDK Implementation

This is a PHP 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

composer install

Add API Keys to environment

export API_KEY="REPLACE_WITH_YOUR_API_KEY"
export API_SECRET="REPLACE_WITH_YOUR_SECRET_KEY" 
export MERCHID="REPLACE_WITH_YOUR_MERCHANT_ID"

Run local PHP server

cd src
php -S localhost:5000

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

Run on Heroku

Deploy

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published