#noor-bl_code
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/1292859313890525271
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi
ok wait
i have a React native expo app and i have inside it stripe checlout payment : https://docs.stripe.com/payments/accept-a-payment?platform=react-native
i need to add after payment send Email receipts : https://docs.stripe.com/receipts
but i code says receipt_email: 'I.override.your.customer.email.settings@example.com',
i using firebase Authentication and emails saved in Authentication how send receipts to emails ????? and get data
You are using PaymentSheet here?
Gotcha then the easiest way is to just create a Customer object and set the email when you create that Customer in your backend (https://docs.stripe.com/api/customers/create#create_customer-email). Then you pass this Customer ID to your frontend and pass it to initPaymentSheet()
In your Dashboard you enable payment receipts at https://dashboard.stripe.com/settings/emails
Otherwise, if you want to do this on a one-off basis, you set receipt_email when you create your PaymentIntent in your backend: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-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.
but the customre id its just save in the phone of user its not saved in data or somthing
Not sure I understand what you mean by that, sorry.
If you clarify, then I'd be happy to help further
uhhh wait
i will try
My question now is how will the server get the user's email via firebase?
it sems marge
Oh that's not something I can help you with -- I'm not familiar with retrieving data from firebase and can only help with questions about the Stripe API.
not any one from your team know this ......... know how to do it?