#alle00
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hi, let me help you with this.
It depends on a lot of settings, but we don't retry the first payment.
What are you trying to achieve?
I'm trying to understand what are the possible scenarios if the payment fails on the subscription
and if my subscription would stay active until the end of the "retrying payment" period
or would it go into incomplete
I show subscriptions and payment methods to users on our UI and I'd like them to be able to attach a different payment method to the subscription if one fails
but at the moment we are only showing subscriptions that are with status "active"
You would get a invoice.payment_failed event when a billing cycle payment has failed: https://stripe.com/docs/api/events/types#event_types-invoice.payment_failed
You can also check if any of the Invoices have status "open" (although they had to be paid immediately): https://stripe.com/docs/api/invoices/object#invoice_object-status
this I understand, but what happens with the subscription status in this scenario? That's what I care about
does it stay active or does it go into incomplete while the invoice is not paid
Yes, it's supposed to go to incomplete: https://stripe.com/docs/api/subscriptions/object#subscription_object-status