#brel_webhooks

1 messages ¡ Page 1 of 1 (latest)

hallow birchBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

void marsh
#

Hi, let me help you with this.

#

You can create a Subscription with Customer on Test Clock, advance the time, and you will receive the customer.subscription.updated Event when it renews.

tired dome
#

No, I am referring to the renewal notice that customer should get before renewal

#

I think is upcoming_invoice webhook

#

I have configured the notice to be 3 days before renewal

#

This is the subscription I want to fire it: sub_1QhqTCARjJ1na9ElfLSEivcS

void marsh
#

If you enabled this webhook notification, you will receive it before the renewal occurs. Is it not what you're observing?

#

You can use Test Clocks for that as well.

tired dome
#

What should I do in this case

#

can I use test clock for this specific subscription?

#

sub_1QhqTCARjJ1na9ElfLSEivcS

void marsh
#

Normally you would need to create a Subscription on Test Clock from the start.
Let me check if you could change the Customer object to the one with a Test Clock...

#

Are you not able to re-create the Subscription?

tired dome
#

I am creating the subscription from my app

#

directly

#

what should I do in this case?

void marsh
#

You should update your code to add test clocks to Customers you use to create Subscriptions from your app.
You can't add Test Clock to existing Customer, and you can't update a Customer on an existing Subscription, unfortunately.

hallow birchBOT