#valcanbuild
1 messages · Page 1 of 1 (latest)
Do you have a PaymentIntent that I can take a look?
I have not stipe account
@worthy frost please ask question in the main channel and I'll help you there
@little mulch sure - pi_3NaYgIKRNFCo7hZk0SY90sYe
what is main channel name
@worthy frost I've already created a thread and answered your question, please stop jumping into other's thread, thank you.
@queen ocean I've checked this PaymentIntent, both receipt_email and customer are not set, so Stripe won't know which email address it should use to send out the receipt.
This is just the billing_details, not customer.
Ok, well here is an older payment intent where the only difference was that I was using the old card element, instead of the payment element: pi_3MK1A8KRNFCo7hZk0LO8RkNX
I did receive a receipt for that one - how come when my logic for creating the intent on the backend is the same?
This PaymentIntent has receipt_email set.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
But it wasn't set when it was created - it was set (by stripe I would think) at the point of payment
Can I set the receipt_email parameter when calling confirmPayment on the frontend?
ah it looks like I can - I'll try that
Yup that works - thanks
I don't see receipt_email in the API reference (https://stripe.com/docs/js/payment_intents/confirm_payment) so I don't recommend you to do it.