Skip to content

Luciam91/stripe-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripe SDK Example

I love Stripe, but I noticed that their newest docs appeared to be lacking some fairly obvious uses, so I decided to add a basic example showing how to create a customer, add them to a subscription plan, and get the invoice information.

All of the code is in the index.php, if you want to run the code, change the STRIPE_KEY environment variable in docker-compose.yml to match your own TEST Stripe secret key, then run:

composer install --ignore-platform-reqs
docker-compose up

The index script will be available at http://localhost:10000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages