Set up subscriptions with Stripe Billing
This sample shows how to create a customer and subscribe them to a plan with
Stripe Billing. For the official documentation
for Stripe billing checkout the overview.
The hosted demos linked above are running in test mode -- use
4242424242424242 as a test card number with any CVC + future expiration date.
Use the 4000002500003155 test card number to trigger a 3D Secure challenge
flow.
Read more about test cards on Stripe at https://stripe.com/docs/testing.
Run the sample locally
This sample can be installed two ways -- Stripe CLI or git clone. The .env
configuration will vary depending on which way you install.
Requirements