Start subscriptions in Stripe via form posts (v2)
This repo contains a single Azure Functions v2 function that can receive a form post and setup an appropriate subscription for it in Stripe.
The app includes just one function:
StartSubscription
- receives form POST submission and creates a subscription via StripeTo set this up, you’ll need to have an Azure Portal account.
Setting | Value |
---|---|
SubscriptionSuccessUrl |
where to redirect a users browser to if the subscription was successful |
SubscriptionFailureUrl |
where to redirect a users browser to if the subscription failed |
StripeApiSecretKey |
your secret key from the Developers > API keys in your Stripe dashboard |