#Rekha Thakur-receipts
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
a couple of questions:
what are you using Checkout? Payment Intents? Subscriptions? etc.
do you need it in test mode or in live mode?
Hi @coral portal , thank you please help
Better to make it working on Test Mode
Payment Intents
Better to make it working on Test Mode
in test mode emails are not sent through the API
but, you can do it through the Dashboard with some manual Here's how to get a receipt e-mail sent when you're testing:
Make a test transaction.
Navigate to the page in the Dashboard for the charge.
Scroll down to "receipt history"
Click "Send receipt"
Enter the e-mail address you want to receive a copy of the receipt at and continue.
on test mode it's not possible
you'd have to include receipt_email https://stripe.com/docs/api/payment_intents/object#payment_intent_object-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.
I already did it on Live mode too, but still not working when payment is done
you could take a look at this guide https://stripe.com/docs/receipts
and select the Payment Intents tab
Means in Payment Intents I need to set receipt_email object?
yes
Is it will work in test mode?
not in test mode
Okay
only in live mode
Okay, thank you @coral portal
let me know if you need any more help
Let me work on it and catch you soon.
Can I do it using webhook events?
Or only using the API?
do you mean update the receipt email on the payment intent?
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Yes, sure