Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Custom Payment Confirmation | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Custom Payment Confirmation

Custom Payment Confirmation

Posted: February 12, 2014 at 6:48 pm

Viewing 1 reply thread


aiact

February 12, 2014 at 6:48 pm

We have trouble keeping track of payments to Paypal vs Check. To solve this we did the following.

In order to get an email to send with payment confirmation before the user gets to paypal and right as the user clicks complete registration (for checks), I included a javascript file in the check_payment_vars and the paypal_payment_vars files.  Each Javascript file included makes an ajax call to php files in the respective payment gateway folders that get the information from the registration and send an email to the administrator using the same email functions of event espresso with an added line for payment amount and payment method. After the email is sent the user is then sent to paypal or the summary page if he or she clicked pay by check.  

This solution works fine, but was overwritten by the recent update.

Any ideas on how we can modify this so we don’t get over written with each update?

Thanks for your input.


Anonymous

February 13, 2014 at 4:30 am

Hi aiact,

When modifying the gateways you can copy them to wp-content/uploads/espresso/gateways/ and modify them there.

So in the case of the Check gateway, copy the folder and place in the directory above so you end up with wp-content/uploads/espresso/gateways/check/

These will not be replaced when updating Event Espresso.

Hope that helps.

Viewing 1 reply thread

The support post ‘Custom Payment Confirmation’ 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 - Staging Server