#sakin_best-practices

1 messages ¡ Page 1 of 1 (latest)

vivid sirenBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1221697366726283365

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

shadow windBOT
pale comet
untold geyser
#

cus_Pme5CG4zNKvKKp this is in test mode, I cancelled plan from billing portal and saw renew plan option.

#

Also customer.subscription.deleted event isn't triggering even though I activated it, Now I'm handling cancel plan through customer.subscription.updated cancel_at_period_end

pale comet
#

Ah I see! Since the subscription is not canceled yet, customer will still have the option to not to cancel the subscription at the end of this billing cycle.

Only when the subscription is canceled, then there won't be renewal options

untold geyser
#

is it possible to immediately not show renew option?

pale comet
#

I'm afraid that will not be possible since the subscription is not canceled yet

fickle ravine
#

Hi @untold geyser I'm taking over this thread

#

Can you share with me the ID of the subscription that you have canceled, but billing portal shows renew option?

untold geyser
#

sub_1Ox5yPEJzBDI5iOLcXNbWvpB

#

If I trigger one time payment then immediately trigger cancel subscription api will there be any problem from stripe POV.

fickle ravine
#

This subscriptoin is still active, not cancelled.

untold geyser
fickle ravine
#

No, what make you think it should?

untold geyser
fickle ravine
#

No Stripe won't cancel a subscription unless a user told it to do so.

untold geyser
#

when i press cancel plan in stripe billing portal what happens then?

fickle ravine
#

The subscription will still stay active until the period ends, and your customer can still renew it through billing portal.

untold geyser
fickle ravine
#

Yes you can do that, you can monitor customer.subscription.updated event to get notified when your customer cancels the subscription through billing portal, so that you can cancel the subscription immediately.