#tld_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1278983368142360679
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! do you have an example PaymentIntent id that you can share here for me to take a look?
generally, we'd recommend that you disable the settings to automatically send receipts. Then decide if you want to send receipts to a customer by passing in the customer email into the receipt_email field. You can read about receipts here : https://docs.stripe.com/receipts?payment-ui=direct-api
hi @tender wigeon
here a sample ,; (TEST MODE) : pi_3PtPpQJvpnuUm53t0IUgyW2s
in the create-request payload , there is no receipt e-mail that I set, but it picks it up from the saved customer.
we have 400.000 customer entries inside many of them come with an e-mail address.
it picks it up
What picks it up exactly? And what do you mean by this exactly?
If you didn't provide the receipt_email and your global email settings are disabled, then the email won't be sent.
Also, please not that we don't send any emails in Test mode.
I see you still have email receipts enabled in the global settings: https://dashboard.stripe.com/settings/emails
hi @wet heart
i know emails are disabled in test mode. but in live mode, we are receiving it.
as you see in the request payload there is no receipt e-mail but the customer-id is available.
if you look at the response of the payment-intent create, we have the receipt email address. that is the e-mail address of that customer provided.
the payment-intent created carries this receipt email adddress
As I said, this is expected, because email receipts are enabled in your settings âď¸
i see ; so do you say if we disable the e-mail settings, it will not use the customer's e-mail address?
Yes, that's what I expect to happen.
very clear, i will share it to the teams
I understand you might not want to change settings on your main account, so it might be worth creating a separate Stripe account just to test these kind of things.