{"repo":"stripe-samples/subscription-use-cases","free":true,"listed":false,"github":"https://github.com/stripe-samples/subscription-use-cases","clone":"git clone https://github.com/stripe-samples/subscription-use-cases.git","description":"Create subscriptions with fixed prices or usage based billing.","language":"JavaScript","stars":907,"topics":["stripe","stripe-billing"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"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. Checkout Fixed-price-subscriptions with Elements Usage-based-subscriptions with Elements :-------------------------------------------------------------------------------------------------------------------------- :--------------------------------------------------------------------------------------: :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: Demo checkout.stripe.dev Define prices in: CLI, Dashboard, or API Create a price with the Stripe: CLI, Dashboard, or API. ✅ ✅ ✅ Charge users a fixed price on a recurring basis Create a subscription with a fixed price recurring monthly/yearly/etc. ✅ ✅ Charge customers based on their usage. Create a metered subscriptions so you can charge customers based on their usage. ✅ ✅ Apple Pay & Google Pay support ✅ Built in, no extra code needed Coupon support for subscriptions ✅ ✅ ✅ The hosted demos linked above are running in test mode -- use 4242424242424242 as a test card number with any","default_branch":null,"files":null,"tree":[],"storefront":"/r/stripe-samples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stripe-samples/subscription-use-cases/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}