#jose-fernndez_docs

1 messages ยท Page 1 of 1 (latest)

oak zincBOT
#

๐Ÿ‘‹ 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.

lavish geyserBOT
#

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.

covert cosmos
#

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.

acoustic merlin
#

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?

covert cosmos
#

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?

oak zincBOT
acoustic merlin
#

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?

covert cosmos
#

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.

acoustic merlin
#

ok

shell trail
#

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.