This sample has been archived. Please refer to the canonical sample for starting a Subscription with Checkout: https://github.com/stripe-samples/checkout-single-subscription.
stripe-archive/checkout-subscription-and-add-on
Uses Stripe Checkout to create a payment page that starts a subscription for a new customer.
CSSMIT