#xqprtzcv_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ 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.
@tiny crown you can use invoice.upcoming for that
Hi ๐
You can use the invoice.upcoming webhook event: https://docs.stripe.com/api/events/types#event_types-invoice.upcoming
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
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?
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)
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