#mangle-subscription-event
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.
- mangle8582, 2 hours ago, 60 messages
- mangle8582, 1 day ago, 10 messages
- mangle8582, 1 day ago, 41 messages
mangle-subscription-event
@misty laurel we cover all Events associated with a Subscription in our docs here: https://stripe.com/docs/billing/subscriptions/webhooks#events
It explains the difference between both of those Events
Thanks, it's a normal behavior after you pass subscription end date, the user to have the subscription active for one more hour until the payment occurs?
After end time of subscription is passed, invoice.created is triggered and after one hour the payment occurs.
I need to show a message on frontend that the invoice has been triggered and a payment will occur, otherwise user will see the updated start and end date from customer.subscription.updated and he will think it's already paid.
Can i make use of latest_invoice.next_payment_attempt? update it in database on invoice.created and make it null on invoice.paid?
So i can remove message after user pays.
Each billing cycle, an Invoice is created and it stays open for a couple of hours yes, that's normal. After a couple hours the Invoice will be finalized and then payment will be attempted
I don't really understand the rest of your question and how you framed it unfortunately
I need to show a message that an invoice has been created on frontend.
Because after subscription end date is passed, the webhook events invoice.created and customer.subscription.updated are getting triggered and they are updating the subscription with the next month start date and end date.
So user will see
Start Date: Now
End Date: Next Month
Status: Active
But the invoice has not been paid yet.
I need to show a message that an invoice has been created on frontend.
why? Who needs to know an Invoice is already created but not ready to be paid here? Your customer doesn't care at all that this is happening on the backend
Yea, but user expects at the end date of the subscription the payment to occur, and i'm showing him next month subscription start and end date with status active and he will look to see if my app got the money for the next month and he will be confused.
I was confused first as well. I was expecting one hour before the subscription end date the invoice.created to occur and at the exact end time the payment to occur.
but it's an end customer, they have no idea what exact second an Invoice is created and when it is finalized. Just make it look like it's still the previous period until the Invoice is finalized.
I think you're overthinking this