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.


Tony

  • Support Staff

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