How to handle failed subscription payments?
This section goes over how Stripe handles failed payments for a subscription.
Last updated
This section goes over how Stripe handles failed payments for a subscription.
Last updated
Stripe will automatically handle failed payments for subscriptions. You can manage the retry schedule by visiting the following section of the Stripe Dashboard (make sure you are logged in to Stripe): https://dashboard.stripe.com/settings/billing/automatic
The settings will look like this:
When all retries for the payment fail, the subscription will be cancelled causing the subscription status to be set to 'cancelled' as-well. You can read more about how to retrieve the subscription status here.
You can periodically check if a subscription is still active (by for example scheduling a repeating Backend workflow or checking the subscription status client side). Alternatively, you can setup a Stripe webhook to get notified when a subscription get cancelled. Keep in mind that you need to be on a paid Bubble plan to use webhooks as you need to use a Backend workflow.