Home Forums Event Espresso Premium Leave The Current Page

Leave The Current Page

Posted: July 11, 2013 at 8:31 am

Elizabeth Sarno

July 11, 2013 at 8:31 am

I am in the process of setting up my Authorize.Net connection to Event Espresso and there is now a popup that comes up with the below message:

Confirm Navigation
Warning!!! Using the back button will overwrite your existing registration.

Are you sure you want to leave this page?

Options Stay on this page or Leave this page.

The only thing that I am doing is clicking on the payment option that shows the Visa, MC, AMEX, and DISC logo. Do I have something setup wrong that would be causing this popup? How do I prevent that popup from showing up at all?

Also, I contacted Authorize.Net to find out if I should be using the Authorize.Net AIM or Authorize.Net SIM thats found in your payment gateway plugin and they pointed me back to you citing that the recommended approach is up to the vendor of the program. Which do I use and should I have it set to Force HTTPS on return URL? Is there anything else that should be checked in each area within the payment gateway section of the plugin.

My mainsite url is and a redirect that points to a page that uses the Event Espresso form is


  • Support Staff

July 11, 2013 at 10:40 am

Hi Elizabeth,

The popup you’re seeing is an issue with the SIM gateway’s “Bypass Payment overview page feature” This will be fixed in the next version of Event Espresso, but you can disable it for now by setting it to No. You can find the setting in Event Espresso>Payment settings under SIM settings.

With your question about whether to use SIM or AIM, Event Espresso supports both. So you can use either. SIM will take the payments on’s site, then return the customer to your site when it’s done. AIM will display the credit card form on your site so the customer does not leave your site.

In either case, we highly recommend getting an SSL certificate installed if you are using either AIM or SIM. The option that lets you “Force HTTPS on return URL” will not work unless there is an SSL certificate installed. You can contact your host about installing an SSL certificate.

Elizabeth Sarno

July 11, 2013 at 11:12 am

If I am using AIM how do I stop this popup? If the person clicks “Stay On This Page” they can move forward with no problem but I do have some individuals that dont comprehend this or just click without reading. 🙁

My host is installing the SSL now.

Sidney Harrell

July 11, 2013 at 12:24 pm

To disable the popup completely, you can comment out lines 21 and 46 of templates/return_payment.php and line 88 of gateways/gateway_display.php.


  • Support Staff

July 11, 2013 at 12:25 pm

Hi Elizabeth,

If AIM is the only active payment option the popup should only display if someone tries to hit the back button. This is by design so the customer does not unknowingly delete their previous registration that hasn’t been completed yet.

Can you post a link to the registration page so we can investigate further? There may be something we’re not aware of that would affect the pop-up on your site and we can run a test registration to look into this.

Elizabeth Sarno

July 11, 2013 at 12:32 pm

I dont know how to comment out lines of code that is a little beyond my knowledge of website development.

You can access the two event forms at the following pages:

The only payment gateway active is the Authorize.Net AIM.

Elizabeth Sarno

July 11, 2013 at 12:34 pm

Also, I cant figure out how to change the color of the font on some of the headings such as “Registration Details” or “Personal Information” no matter what I do it stays black. If I use a lighter colored theme then the submit “confirm registration” button becomes invisible.


  • Support Staff

July 11, 2013 at 1:05 pm

Hi Elizabeth,

We’re looking into the “leave the current page” pop up issue. Normally that would not appear with the AIM gateway. Can you send WP admin credentials and FTP credentials via the form on this page:

With the theme color issues you are seeing, you can try switching to a lighter colored theme and then do either of these two things to resolve the issue with the confirm registration button:

Option a) You can skip the confirmation page entirely by setting the “Skip Confirmation Page during Registration Process?” to yes in Event Espresso>General Settings under “Advanced Features”.

Option b) A custom style could be added to color the confirmation button. If you want to go with option b please let us know.


  • Support Staff

July 11, 2013 at 1:20 pm

Hi Elizabeth,

We received the credentials that you sent, but they did not include FTP credentials. We will need those to fix the issues you’re reporting.


  • Support Staff

July 11, 2013 at 1:49 pm

Hi Elizabeth,

I think I found what’s causing the issue with the Pay by Credit card button. There are two Google Analytics plugins active and both were set to enable outbound link tracking. The overlap between the two plugins may have been causing the issue. It may be the case where if you deactivate one of them it will all work okay. I’d recommend going with the Google Analyticator plugin only, the other analytics plugin that is installed is known to cause issues on Mobile Safari.

For now I’ve disabled the outbound link tracking for the Google Analytics plugin. The Google Analyticator;s outbound link tracking is still enabled and doesn’t appear to be causing any issues.

Please let us know what you’d like to do about the confirmation page and we’ll be glad to help.

Elizabeth Sarno

July 11, 2013 at 1:54 pm

Thank you! I am thinking that skipping the confirmation page is the best option and maybe an unnecessary step.


  • Support Staff

July 11, 2013 at 2:00 pm

I’d agree with that. Thanks for letting us know.

The support post ‘Leave The Current Page’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 7 years ago ago

Topic Tags



This topic is: not resolved
Do NOT follow this link or you will be banned from the site!