#ashish_webhooks

1 messages ¡ Page 1 of 1 (latest)

fickle kestrelBOT
#

👋 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/1282903138000441375

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

marble rapids
granite latch
#

Oh ic, stripe won't send an event like subscription paused or deleted as well?

#

If that's the case I'll just listen for that event and assume they want to delete their subscription

#

I'm also reading that the state will move to 'incomplete_expired' if they don't settle the payment within 23 hours, but I assume it won't send any event for subscription right?

marble rapids
#

Payment failure doesn't meant that a subscription will be deleted

#

Stripe supports payment retry feature, and the payments can still be retried a few times before a subscription is canceled or moved to past due

granite latch
#

I see. Thanks for the clarification. I have another question, but it's more towards the API than webhooks, is that okay? I want my customers to be able to cancel their subscription, however in the API, I don't see a way to cancel on next billing cycle

marble rapids
fickle kestrelBOT
granite latch
rough sky
#

Hi @granite latch I'm taking over this thread. Let me know if you have any other questions

granite latch
#

Oh thanks, so basically I have a subscription that users can subscribe to, I want the users to be able to cancel their subscription themselves with a button. When they cancel, it would be until the end of billing period since they've already paid for that period. How would I do this, because when I see the cancel subscription api, it doesn't let me set when to cancel