开发者

Stripe not sending invoice emails to customers in test environment

开发者 https://www.devze.com 2022-12-07 17:53 出处:网络
I\'m integrating Stripe into one of the apps. When I send invo开发者_运维技巧ices through Node.js SDK it\'s not sending invoice emails to customers when I use the test environment API key. But when I

I'm integrating Stripe into one of the apps. When I send invo开发者_运维技巧ices through Node.js SDK it's not sending invoice emails to customers when I use the test environment API key. But when I use a live environment API key with the exact same code, it sends the invoice email to the customer.

Also when I send invoices from the Stripe dashboard in test mode, it is sending emails to customers. The issue seems to be only with SDK/API in the test mode.

Is it possible to send emails to customers even in test mode using Node.js SDK/API?


Stripe doesn't send email in test mode.

From 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号