#jose-fernndez_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1260259893437399096
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
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.
- jose-fernndez_docs, 1 hour ago, 6 messages
Hi ๐ no, checkout.session.completed Events are only generated when the Checkout Session is completed by the customer, they are not generated when the Subscription created by the Checkout Session moves to a new billing period. customer.subscription.updated Events are emitted when that happens.
Ok, if someone does not make a subscription payment the following month, I understand that the invoice remains in "draft" and the invoice for the following month is created. Should the customer only cancel the most recent invoice?
Sorry, I'm not following there. If you're using payment_behavior as charge_automatically for these Subscriptions, then the payment is automatically attempted. If the payment fails, what happens next is dependent on your subscription retry/recovery settings that you have configured here:
https://dashboard.stripe.com/settings/billing/automatic
The behavior of the future Invoices is determined by the state the Subscription goes into:
https://docs.stripe.com/billing/subscriptions/overview#subscription-statuses
Should the customer only cancel the most recent invoice?
To accomplish what?
Since I have been working with checkout session, is there an easier process to reactivate the subscription from the Stripe client?
or should I update the payment method through some API?
So you're trying to recover a Subscription that changed states due to failed payments? For both unpaid and past_due Subscriptions, you will want to pay the most recent Invoice for the Subscription to have it return to an active status.
ok
Is there a section that indicates step by step how to reactivate the subscription? https://docs.stripe.com/billing/subscriptions/overview#unpaid-subscriptions
I am wondering if I should only address the update invoice API
hello! I'm around, give me a min
yep so in that link, this is the section that explains it:
To reactivate the subscription, you need to:
Collect new payment information.
Turn automatic collection back on by setting auto advance to true on draft invoices.
Finalize, then pay the open invoices. Pay the most recent invoice before its due date to update the status of the subscription to active.