#comfy-paymentelement-emailreceipt
1 messages ยท Page 1 of 1 (latest)
Hey @orchid quiver what do you call "checkoutelements"? We have a product called Checkout https://stripe.com/docs/payments/checkout we also have a separate product called Elements https://stripe.com/docs/elements but we don't have something with both
payment elements
sorry I coded this a few months ago so forgot but yes it's react payment elements
comfy-paymentelement-emailreceipt
it's working fine but it doesn't send a receipt, wondering if that's a setting in elements or in stripe admin
All good, so PaymentElement is a UI component to collect payment method details, it doesn't know anything about receipts
Are you doing one-time payments without any Customer objects, or are you using Customers too? Asking because email receipts work differently in both cases
okay so what you need to do is make sure that you set https://stripe.com/docs/api/payment_intents/create#create_payment_intent-receipt_email properly to the end customer's email. Then we will send a receipt after a successful payment
so if that variable is set it it will automatically send an email?
does this work in dev mode as well so I can check?
no, Test mode never sends an email receipt, see https://stripe.com/docs/receipts for more details
but as long as you set that parameter it will work in production
anything I can do for that?
and is there a way to change the phone number/email on the receipt? it's currently a private email/phone number
for spam not really, you likely flagged it as spam before. You could use your own email domain if you're experienced with that: https://stripe.com/docs/payments/account/email-domain
I see
For the second we use what's in your account settings in the Dashboard. You might want to chat with our support team if you have follow up questions at https://support.stripe.com/contact but you can configure this here: https://dashboard.stripe.com/settings/public
Amazing!