#xqprtzcv_webhooks

1 messages ยท Page 1 of 1 (latest)

bold micaBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254868756262293574

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

idle depot
#

@tiny crown you can use invoice.upcoming for that

lapis nacelle
tiny crown
#

Great, thanks.

#

Do you know how many days before it is sent?

lapis nacelle
#

That's up to you. You set that in your dashboard subscription settings

tiny crown
#

Got it, thank you!

#

Can you set time for customer.subscription.trial_will_end?

#

And just checking, but I imagine invoice.upcoming will be sent even if customer is in trial

lapis nacelle
#

Sorry this doesn't make any sense to me. Invoices aren't generated during a free trial except for an initial one for $0

#

Can you set time for customer.subscription.trial_will_end?

Can you explain what you mean here?

tiny crown
#

Just confirming that if a user subscribes to a subscription with a trial, the invoice.upcoming will be sent at the end of their trial (as long as their subscription hasn't been canceled)

lapis nacelle
#

yes. You can also test this out yourself by creating a subscription with a free trial period (using Test mode API key) and seeing the webhook events fire

tiny crown
#

Also, my other question was asking if I could determine when the customer.subscription.trial_will_end was sent, but I think I will just use the invoice.upcoming instead

#

Thank you!