#topmotive-design-2_webhooks

1 messages ยท Page 1 of 1 (latest)

wicked magnetBOT
#

๐Ÿ‘‹ 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/1244956124969566220

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

oak badger
#

hi there!

barren flare
#

ok, I just added this to a test subscription but no event was fired

#

what am I missing?

#

I set the clock 2 minutes in advance

oak badger
#

can you share the Subscription ID (sub_xxx)?

barren flare
#

sub_1PL2oIGLvoRtAlfHxUfGnHYD

oak badger
#

thanks! give me a few minutes to look into this.

#

you need to advance the time to June 27

#

that's when the new Invoice will be created

barren flare
#

ok, but how do I trigger this now to simulate it?

oak badger
#

trigger what? you need to advance the time on the Test Clock, either with the API or with the dashboard. all of this is explained in the link I shared earlier.

barren flare
#

I want to trigger the auto-renewal of this subscription. I have saved everything releated to this in my DB and I want to test the renewal and update my DB.
I thought I could use the clock to trigger this event now in order to simulate it. This is why I set it 2 minutes in advance

oak badger
#

Your Subscriptoin was created today, and will renew in one month. So you need to use Test Clocks to advance time by 30 days in order to see it renew.

#

that's the whole point of Test Clocks: move time forward so you can see what happens in the future, like a renewal.

wicked magnetBOT
barren flare
#

Now I got it ๐Ÿ‘
I have to set it to June 27th one minute after the expiration and then I receive the customer.subscription.updated event

green bear
#

Perfect! Let me know if I can help with anything else