#SamBellerose-Checkout receipt email
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
you can use this field https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-receipt_email
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hey, thanks Tarzan for this quick answer! Here's the link for my Stripe Checkout subscription https://buy.stripe.com/9AQeXE1MheWl6jeeUW , my question is more if there is an option I could check for Stripe Checkout so that after the payment succeed, an email is sent (by Stripe) to this user? Or do I have to use a webhook if I want to do this?
do you collect the email before sending the customer to the checkout session?
I'm asking whether you collect it before redirecting to the Stripe Checkout Session
Oh you mean before sending, no it's only a button
It would be a good idea to ask for their email before that and ask whether they want to receive a receipt or not
Ok so I need to ask permission first to send email
I thought receipt were ok to send without permission
and use both https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_email (this will autofill the email in the Checkout Session page) and https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-receipt_email to pass in the collected email
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh I misunderstood your inquiry, sorry, I thought you meant the user wants to decide whether they want the receipt or not
in that case you only need to collect the email
Ok, I'm not sure if you understand what I want I will try to reformulate in an other way
I'm using Stripe Checkout for my subscriptions, but I only redirect the user (without knowing who it is, they register without being connected so it's only a link) to the Stripe Checkout. After the payment is done, I was wondering how they could receive a payment receipt. I know Stripe is a payment service and not an email service company, so I was wondering if it was an option available for Stripe Checkout to automatically send an email after the Subscription Payment is done, or if it's not an option possible, do I have to use Webhooks in order to send an email after the payment is succeed?
Yes I think it does! I'll try this out
It worked but the message was received in English and not in French
Did you select the language as French in your email settings?
Yes I made sure the right language was set
Maybe the browser language has something to do with it?
Do you have the language set on the customer? https://stripe.com/docs/api/customers/update#update_customer-preferred_locales
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That would act as an override
No I don't send any data
Ok. I would write in to support about this then: https://support.stripe.com
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I'll give it an other try, maybe it wasn't updated
It seems like the link of my checkout.stripe is in english, maybe there is a connection? Can I select the checkout.stripe page language?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't know if that will effect anything, but you're welcome to try
Of course!