#mehdi

1 messages · Page 1 of 1 (latest)

turbid atlasBOT
celest wasp
#

Hello! If you don't want to use Test Clocks you would need to create a Subscription with a short interval and then wait.

graceful prairie
#

does a free trial trigger an invoice.upcoming webhook?

celest wasp
#

What do you mean?

#

invoice.upcoming will fire X days before a Subscription is scheduled to create an Invoice, where X is determined by your Dashboard settings.

graceful prairie
#

oh yeah

#

so if I set the X days to be 3 days

#

and then add 3 days of free trial to a subscription

#

would that trigger the invoice.upcoming?

celest wasp
#

I think so... although I've never tried doing it that way.

#

What's your goal? What are you trying to do exactly?

graceful prairie
#

yeah, we send our own "upcoming subscription renewal"-type emails

#

that use the invoice.upcoming webhook to trigger them

celest wasp
#

Why don't you want to use Test Clocks?

graceful prairie
#

our subscriptions are already attached to some other user objects, and have metadata set on them

#

it would be a bit difficult to copy/replicate

celest wasp
graceful prairie
#

ahh okay

#

how much more time do you recommend? just a few seconds or a minute?

celest wasp
#

I would probably start with five minutes, make sure it works, then lower it if needed.

graceful prairie
#

whoa! just did it for 15 seconds and it worked

#

awesome

celest wasp
#

Ah, nice.

graceful prairie
#

thanks for your help!