stripe-payments - Stripe 在测试环境中不向客户发送发票电子邮件

标签 stripe-payments

我正在将 Stripe 集成到其中一个应用程序中。当我通过 Node.js SDK 发送发票时,当我使用测试环境 API key 时,它不会向客户发送发票电子邮件。但是,当我使用具有完全相同代码的实时环境 API key 时,它会将发票电子邮件发送给客户。

此外,当我在测试模式下从 Stripe 仪表板发送发票时,它会向客户发送电子邮件。该问题似乎仅存在于测试模式下的 SDK/API。

即使在测试模式下也可以使用 Node.js SDK/API 向客户发送电子邮件吗?

最佳答案

Stripe 在测试模式下不会发送电子邮件。

来自https://support.stripe.com/questions/not-receiving-email-sent-from-stripe :

Stripe only sends email receipts for payments that are made with your live API key or through your live Dashboard. If you are expecting an email for a test transaction, one will not be sent.

关于stripe-payments - Stripe 在测试环境中不向客户发送发票电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74713563/

相关文章:

stripe-payments - Stripe 多张卡片行为

javascript - Uncaught ReferenceError : Stripe is not defined - STRIPE ERROR

php - 如何为 Stripe/PHP 指定 MOTO(邮购电话订购)?

ruby-on-rails - Stripe webhooks : Is there a way to fire the event : customer. source.expiring in test mode?

swift - 客户没有带 ID 的链接源

php - jQuery 加载程序直到在 Stripe Payment 之后重定向

javascript - 在 Node JS 中仅使用包含数据的变量的正确方法是什么?

stripe-payments - 是否可以在 Stripe.createToken() 上验证 CVC、邮政编码和地址 1?

php - Stripe API 收取的金额不正确

javascript - Stripe 自定义付款表格未正确显示