Stripe 文档对此含糊不清:
https://stripe.com/docs/billing/webhooks
A few days prior to renewal, your site receives an invoice.upcoming event at the webhook endpoint. You can listen for this event to add extra invoice items to a subscription draft invoice.
https://stripe.com/docs/billing/lifecycle
When the subscription approaches its renewal date, an invoice.upcoming event is sent.
有谁知道 invoice.upcoming
webhook 和实际发票之间的大致时间间隔? “几天”可能是 2-5 天之间的任何时间,具体取决于您询问的对象。
最佳答案
您可以在您的 billing settings 中设置何时发送 invoice.upcoming
.
关于stripe-payments - 在发票到期前多少天会调用 invoice.upcoming webhook?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58173408/