Skip to content

sakasa/stripe-checkout-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stripe-checkout-sample

Stripe Checkoutのサンプルコード実行環境をDocker上で構築します。
サーバーサイドPythonで動作する環境を構築しています。

Stripe-Checkout client&server sample for python on docker.

Use.

https://github.com/stripe-samples/checkout-single-subscription

Ref:

Usage

git clone sample code

git clone https://github.com/stripe-samples/checkout-single-subscription.git

Copy .env

cp checkout-single-subscription/.env.example checkout-single-subscription/client-and-server/server/python/.env

git clone this repository

git clone https://github.com/sakasa/stripe-checkout-sample.git

Move sample to stripe-checkout-sample.

mv checkout-single-subscription/client-and-server stripe-checkout-sample/

docker-compose up

cd stripe-checkout-sample/
docker-compose up

Access sample web.

http://localhost:4242

TODO Update your environment.

自身の環境に合わせて .env ファイルや client 側のコード(HTML、javascript等)を修正してください。

Blog

https://note.com/ppiicckkllees/n/nf64f1126515b

About

Stripe checkout client and server sample for python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published