#kuzma-subscriptions
1 messages · Page 1 of 1 (latest)
hi!
You can create the subscription, then update the customer's card to the one that declines (4000000000000341 https://stripe.com/docs/testing#cards), and then force a recurring invoice by updating the subscription to have trial_end a few minutes in the future. When the trial ends it generates a recurring invoice that will fail.
Thank you
Wait, but we are not using trial at current time. Does it work without trial?
the idea is to use the trial to force an invoice without waiting a day/week/month
it's only for testing, it's not required to actually use the trial in production. Unfortunately that's the only reasonable way to test this recurring flow without either waiting for the next billing cycle to happen, or having access to the Test Clock beta(mentioned on the page I linked)