[英]Why aren't Stripe events firing and not being received by webhook?
I've tested my webhooks locally, using the CLI, and they work fine.我已经使用 CLI 在本地测试了我的 webhooks,它们工作正常。 However, when I took the webhooks live and deployed them to Heroku, and went into "live" mode on Stripe (which I assume is necessary to be able to use live webhooks), Stripe just doesn't fire events at all, they don't appear in the dashboard, webhook endpoint doesn't get any requests, nothing;
但是,当我实时使用 webhooks 并将它们部署到 Heroku,并在 Stripe 上进入“实时”模式(我认为这是能够使用实时 webhooks 所必需的)时,Stripe 根本不触发事件,它们不会'没有出现在仪表板中,webhook 端点没有收到任何请求,什么都没有; for example, no
account.updated
when a I try to create a Connected account, or no checkout.session.complete
when I try to complete a Checkout purchase.例如,当我尝试创建 Connected
account.updated
时没有account.updated
,或者当我尝试完成 Checkout 购买时没有checkout.session.complete
。 Is there a step I've perhaps missed when taking my webhooks online?在网上使用我的 webhooks 时,我可能错过了一个步骤吗?
I ran into this issue myself- a few ideas:我自己遇到了这个问题 - 一些想法:
For example:例如:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.