Posted: March 16, 2023 at 9:12 pm
Hello, We are having an issue with the Stripe integration where the registrant being registered is receiving the stripe receipt, not the payee who is booking a course on behalf of the registrant. Any help on the matter would be appreciated. Thanks |
|
Hi there, By default EE does not set a value within the Stripe payment for receipts due to customer feedback on too many emails. Looking through your past threads I mentioned this here: https://eventespresso.com/topic/stripe-integration-not-generating-stripe-receipt-upon-purchase/ And then linked you to a snippet that sets the receipt email to the primary registrant’s address. I assume you want to change that to always use the email address entered on the payment form? |
|
Thanks Tony, Apologies we did not get to you on the previous post. At the moment receipts are now sending but to the wrong person, we just want to send the receipt to the details entered for payment. Thanks in advanced! |
|
Right, so you always want to use use the email field on the payment options step for the receipts? |
|
Hi Tony, yes thats correct ๐ ANy help would be amazing. Thanks, |
|
You need to swap out the previous custom function from above for this one: That uses the email address set on the Stripe billing form for the receipt email. |
|
Thanks Tony Perfect, can you please just confirm where this code needs to be placed? Thanks again! |
|
I can’t because I have no idea where you put the current snippet you are using. In this thread: https://eventespresso.com/topic/stripe-integration-not-generating-stripe-receipt-upon-purchase/ I gave you a snippet to tell Stripe to use the primary registrant email, the above needs to replace that on your site. |
|
Thanks Tony, Tracked it down and have inserted the code. Will do some tests and report shortly. Appreciate the assistance. |
|
Awesome, I’m glad you found it ๐ |
|
The support post ‘Receipt being sent to registrant instead of person paying for the ticket -Stripe’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.