#stone
1 messages · Page 1 of 1 (latest)
Hi,
What you want to achieve exactly ?
if you want to monitore any change s done on the Susbcription, you may need to listen to the event:
https://stripe.com/docs/billing/subscriptions/webhooks#events:~:text=customer.subscription.updated
I use stripe api to get the associated subscription information. Is the obtained subscription information updated or updated? before?
the API response returns the status of the Subscription at the moment the API was done
I want to update subscription info by invoice.finalized.
I am not sure whether i can get latest subscription info(for status changed to active from past_due) after receiving invoice.finalized.
I want to update subscription info by invoice.finalized.
What kind of info you want to update exactly?
for status changed to active from past_due
You can set the subscrription as active when you receiveinvoice.paid
I just want to rely on the invoice.finalized event for my process. Is this possible?
nope
Here is how you shoul dbe tracking active Subscritpion:
https://stripe.com/docs/billing/subscriptions/webhooks#active-subscriptions
If my client pays with SEPA, there will be a delay in payment.
I want to realize that my customers only need to pay with SEPA, no matter whether the payment is successful or not, I will let the user renew the subscription successfully. Any suggestions for this situation?
Then, you should be listening to payment_intent.processing events
https://stripe.com/docs/api/events/types#event_types-payment_intent.processing
and establish the link between the PaymentIntent -> Invoice -> the Subscription
The perfect solution.
There is another situation: when the subscription under the credit card payment method is renewed, there is also a 1-hour payment period. How to solve it in a short period of time?
You mean the 1 hour lapse between the creation of the draft invoice and its finalization ?
Sorry ,let me check it.
between the creation of the draft invoice and its finalization Or its payment Intent paid.
Yes, you can force the invoice finalizeation by an API call once it's in draft status :
https://stripe.com/docs/api/invoices/finalize
Welcome!