#DeputyCheese
1 messages · Page 1 of 1 (latest)
I already received the subscription updated event, but I'm waiting for the invoice.paid event to renew only subscriptions that were 100% paid for on our side.
This is the subscription url: https://dashboard.stripe.com/test/subscriptions/sub_1LzeS4ClDK2O5WMjJRmbAlpO
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
👋 happy to help
in the first invoice we try to finalize/pay the invoice directly, in subsequent invoices we would finalize the invoice first and then wait 1h before trying to get it paid
so basically that's what's happening here
Ah thanks, so if I wait for ~1h the invoice.paid event should be called, right?
if there's a payment method and the payment succeeds
Okay thanks, but this should be the case for the above subscription (in dev mode)?
I haven't had the chance to take a look at the subscription to be honest
but if you're in dev mode why not use test clocks to advance in time and see what happens
Okay one more question: what happens after the subscription updated event has been called, but the invoice hasn't been paid yet AND the user upgrades/downgrades his subscription in exactly this time frame?
it would just downgrade it as well according to the parameters you pass