#allianceRes
1 messages · Page 1 of 1 (latest)
should be trialing AFAIK
and after the end of trial period it change to incomplete?
Yes, if you don't authenticate the first payment. See https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-1
so when we have a plan with trial the subscription cannot expire?
Im a bit confused, because when it is a plan without trial the subscription expire after 23 hours if the user does not complete the SCA
That would depend on whether the associated Setup Intent was completed/successful
If successful, and the card was setup for recurring payments, then we'd attempt to charge the card for the new billing cycle. Outcome of that payment would determine the status
AFAIK, no. You can test this with clocks: https://stripe.com/docs/billing/testing/test-clocks
It'll automatically become active and then update according to payment success and your revenue recovery settings
im testing the case when the payment fail after the end of trial period
It seem that Stripe swith my subscription to past_due
Then the outcome would depend on your settings here: https://dashboard.stripe.com/settings/billing/automatic
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes I know.
but why for plans wthouth trial, the status of susbcription is incomplete during 23 hours then Stripe switch it to incomplete_expired?
That's just how it works: https://stripe.com/docs/billing/subscriptions/overview#payment-window
so we can't config stripe to switch incomplete subscriptions to past_due?
AFAIK, no. What's the use case?
I created this subscription with a trial periode of 1 hour: sub_1MWbe2GfA2lQACd1FtXCs1iN
I didn't complete the 3DS to see what happen after the end of trial periode
now i see that my subscription is Active
Seems expected based on that I outlined above
normally it goes past_due because stripe did not succeed charging the customer
I think free trials are the exception to that rule, as I shared above
I think Stripe will switch it to past_due. but when?
because when recurent paiment fail the subscription should not be active.
I don't believe we do. But you can test this by using a clock and advancing the time
I can't create a clock because my account is limited to reading only
Here is the subscription: sub_1MWbe2GfA2lQACd1FtXCs1iN
take a look and tell me how come it is active while the payment fail
Payment hasn't failed though – it hasn't even been attempted yet: https://dashboard.stripe.com/test/invoices/in_1MWcaJGfA2lQACd1fdbmeGTw
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
We attempt payment ~1 hour after finalisation: https://stripe.com/docs/invoicing/integration/workflow-transitions#finalized
ok I undrestand now!
So after 1 hour if payement fail, the status will be switched to past_due
If that's how your settings are configured, then I believe so
so i can tell stripe to switch subscription to exipred if paiment fail?
Should do it
I have a question about webhook
imagin our server is down when Stripe try to send us events
what happen exactly ?
Stripe has a retry mechanisme, more details can be found here:
https://stripe.com/docs/webhooks/best-practices#events-and-retries
So Stripe will try to contact our server durring 3 days and if our server still down, it will stop sending events?
Yes, Stripe also sends you an email, if your endpoint isn't fixed, it will be disabled