Support

Home Forums Event Espresso Premium Payment Notification CC to admin

Payment Notification CC to admin

Posted: March 11, 2015 at 6:57 pm

Viewing 11 reply threads


Maram

March 11, 2015 at 6:57 pm

Hi,
I have EE3. When I send a payment notification to the user how can I add my email (the admin) as cc also. Because now it sends only to the user.


Dean

March 12, 2015 at 6:55 am

Hi,

There isn’t a way via the plugin, the only way would be to edit core files which we don’t recommend.

This is why in EE4 we made the messages system much more flexible and also everything can be edited from the admin dashboard.


Maram

March 12, 2015 at 7:10 am

Thank you for your response. Could you please tell me which files I should edit.
Thanx in advance


Lorenzo Orlando Caum

  • Support Staff

March 12, 2015 at 8:31 am

Hi! Could you tell us how you are sending those notifications out?

The reason I ask is that the email notifications are handled by the email.php file here:

/wp-content/plugins/event-espresso/includes/functions/email.php

A handful of them are pluggable functions:

http://pressupinc.com/blog/2013/08/pluggable-function-wordpress/
http://wplift.com/wordpress-pluggable-function-1

This means that you can add some of them to your child theme’s functions.php file or a site specific plugin and then make changes and your customizations will be preserved on a software update.


Lorenzo


Maram

March 12, 2015 at 9:11 am

Hi
I am using wpMandrill plugin.


Lorenzo Orlando Caum

  • Support Staff

March 12, 2015 at 10:44 am

Hi,

Let me rephrase my last question.

Are these automatic email notifications from Event Espresso or are you manually sending them out?

If you are manually sending them out, then how are you doing so? Is this through the Invoice reminder option?

Thanks


Lorenzo


Maram

March 12, 2015 at 11:29 am

Hi, sorry I don’t understand your question
It is an automatic email notifications from Event Espresso


Lorenzo Orlando Caum

  • Support Staff

March 12, 2015 at 11:40 am

Hi,

Event Espresso sends out payment notifications to the administrator automatically after a successful registration and payment.

These go to the email address that is set in the General Settings area of Event Espresso.

Are these not working?

What payment method are you using?


Lorenzo


Maram

March 12, 2015 at 12:03 pm

Hi
I get only the notification after a successful registration. But not after the payment.
I use Electronic Funds Transfer & Invoice.
and as you now both of them are “off-site” payment. When I receive the transfer I go to the following window
http://saudimed.org/events/wp-content/uploads/2015/03/Screen-Shot-2015-03-12-at-8.59.06-PM.png
And
1. I change the status to “Completed”
2. And I choose “Yes”. in Email Notice field.
BTW How can I change the default value in Email Notice field to “Yes” instead of “No”.


Lorenzo Orlando Caum

  • Support Staff

March 12, 2015 at 2:02 pm

Hi Maram,

That is actually a manual notification since you are changing the order details and then sending it out.

Payment notifications go out automatically when you are using a service like Stripe, PayPal, or Authorizenet.

If you are using an offline service, then Event Espresso isn’t “aware” of those payments until you update them in the WP dashboard.

Hope that makes sense.

With that mention here is the solution.

The email.php file that I mentioned earlier has a pluggable function:

event_espresso_send_payment_notification

Therefore, it can be added to a custom_functions.php file which can then be added here:

/wp-content/uploads/espresso/custom_functions.php

Note that the location above is not the core plugin folder. This will ensure that the customization is preserved on a software update.

One of the parameters is to send to admin email and it is set to false. Updating it to true should send it to the admin and the attendee/registrant.

This custom_functions.php file is ready to go:

http://cl.ly/code/0G122j3f3f2a/download/custom_functions.php


Lorenzo


Maram

March 12, 2015 at 2:38 pm

Ok. Thanx for explanation.
However if someone facing the same issue using wpMandrill allow you to add CC an BCC for each email they send. Maybe this is not optimal but it is better tha nothing.
You can add the CC and BCC form Mandrill Dashboard
https://mandrillapp.com/


Lorenzo Orlando Caum

  • Support Staff

March 12, 2015 at 2:51 pm

That may work, however just keep in mind that Mandrill will handle all email notifications for WordPress.

Thanks


Lorenzo

Viewing 11 reply threads

The support post ‘Payment Notification CC to admin’ 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