Home Forums Event Espresso Premium Receipt being sent to registrant instead of person paying for the ticket -Stripe

Receipt being sent to registrant instead of person paying for the ticket -Stripe

Posted: March 16, 2023 at 9:12 pm


March 16, 2023 at 9:12 pm


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.



  • Support Staff

March 17, 2023 at 7:17 am

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:

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?


March 19, 2023 at 8:21 pm

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!


  • Support Staff

March 20, 2023 at 8:49 am

Right, so you always want to use use the email field on the payment options step for the receipts?


March 27, 2023 at 4:25 pm

Hi Tony, yes thats correct ๐Ÿ™‚ ANy help would be amazing.



  • Support Staff

March 28, 2023 at 6:04 am

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.


March 28, 2023 at 5:07 pm

Thanks Tony Perfect, can you please just confirm where this code needs to be placed?

Thanks again!


  • Support Staff

March 28, 2023 at 5:40 pm

I can’t because I have no idea where you put the current snippet you are using.

In this thread:

I gave you a snippet to tell Stripe to use the primary registrant email, the above needs to replace that on your site.


March 29, 2023 at 1:01 am

Thanks Tony,

Tracked it down and have inserted the code. Will do some tests and report shortly. Appreciate the assistance.


  • Support Staff

March 29, 2023 at 2:43 am

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.

Event Espresso