#naughty developer
1 messages · Page 1 of 1 (latest)
Hi there!
Have you seen this setting? https://dashboard.stripe.com/settings/billing/automatic
hey i have scenario where i create a paid subscription for users
but i want it to be canceled immediately
if user does not pay
in the settings it retries
on a custom schedule
3 5 and 7 days
it means it will still be active after 15 days
i wanna cancel immediately
what can be done in regards to that
@noble pagoda
You can disable retries in this case I guess.
Another option is to listen to the webhook event invoice.payment_failed , and then cancel the subscription.
oh thanks
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
i have another question
suppose i create a subscription on trial
and when i want to pay i update that subscription
but it creates proration
should i set proration_behaviour to none
so it does not take into account the proration amout of trial
because it was never paid
what are you expecting as a behavior?
sub_1MUr6UIfyyzwPELM5MfqivcU
i created this subscription
and amount 2988 was set it
ok what were you expecting instead?
it was currently on trial i added no payment method to it
but i updated the subscription to some other price
the amount 2988 was prorated
but it should not be included
I don't really follow