Support

Home Forums Event Espresso Premium PayPal receipt email to the primary registrant

PayPal receipt email to the primary registrant

Posted: June 27, 2017 at 3:29 pm


AlphaStar

June 27, 2017 at 3:29 pm

Hello,

There is a “Payment details” section in the PayPal receipt email with the subject “Your receipt for payment to …” to the primary registrant. In this section, there is a sub-section titled “Details”. The expression here is “Event Registrations from {MY COMPANY} for {THE FIRST EVENT IN THE CART}.”

https://alphastar.academy/wp-content/uploads/ScreenShot.png

The problem is it is confusing for the customer since they are thinking as if they registered only for one event.

How can I change that expression. Preferably with the all registered events list. Or at least with the expression “Event Registrations from {MY COMPANY}”

Thanks…


Josh

  • Support Staff

June 27, 2017 at 3:50 pm

I can help you change it to the latter. You add the following code:

add_filter( 'FHEE__EE_Gateway___order_description', 
  'my_custom_order_description', 10, 3 
);
function my_custom_order_description( $desc, $gateway, $payment ) {
  $desc = 'Event Registrations from Your Company Name here';
  return $desc;
}

You can add the above to a functions plugin.


AlphaStar

June 27, 2017 at 6:47 pm

Thanks.

The support post ‘PayPal receipt email to the primary registrant’ 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