Support

Home Forums Event Espresso Premium Auto Return Url Issues

Auto Return Url Issues

Posted: May 18, 2015 at 5:27 pm

Viewing 16 reply threads


Jason Lee

May 18, 2015 at 5:27 pm

Hi there,

We use EE3 integrated with s2member and offer free events to our members. The problem we have been having is members complete their free transaction and then are using the browser back button and registering over and over again because they can’t seem to read the “Your registration is confirmed”. (Our system has an add on that limits them to one event a day, in case that is important)

My question, I have set up an Auto Return URL in the backend but after the user clicks Submit on the free event, it takes the to the “Main Registrations Page” that displays the payment_page.php information. Is there a way to have the system after they click submit on the event to go to the “Auto Return URL and Thank You” page instead. If that were the case I think people would stop using the back button and I could put something more obnoxious that they would have to read πŸ™‚


Lorenzo Orlando Caum

  • Support Staff

May 19, 2015 at 7:33 am

Hi, have you considered applying some CSS to make that confirmation message larger?

You can use a free tool like Firebug or Chrome developer tools to see the CSS that is used. Then you can add new CSS to your child theme’s stylesheet or via a plugin like My Custom CSS or Reaktiv CSS Builder.


Lorenzo


Jason Lee

May 22, 2015 at 12:06 pm

Could you possibly provide a quick example of how to apply it to only this page? When I edit the page or make changes, it applies it to multiple pages.

Example:

This is an event page
.com/event-registrations/?ee=231

and this is the page with payment_php (Main reg page)
.com/event-registrations/

When I make changes or add images or text it applies it to both. What would be great is if I were somehow able to add a big image that says it’s confirmed that links back to a different section of the site, but only to the page with payment_php. How might I do that with css?


Jason Lee

May 22, 2015 at 12:12 pm

Or if the image could somehow be added to the top of payment_page.php that would probably work too? I’m just not fluent in php at all but I am strong in the cut and paste department πŸ™‚


Lorenzo Orlando Caum

  • Support Staff

May 22, 2015 at 1:01 pm

Hi, it applies to both because they run under the main events page which has the [ESPRESSO_EVENTS] shortcode.

What change are you trying to make there?


Lorenzo


Jason Lee

May 22, 2015 at 1:18 pm

We’re just having an issue with people making duplicate reservations because they make their free reservation and are sent to the payment_page.php and then they aren’t reading it and clicking the back button on their browser and then clicking reserve over and over again. We have a plugin we built that only allows them a certain amount of tickets to each event but it doesn’t work when they use the back button. Basically, we need a way for them after they make their reservation to either see a graphic with a link that says confirmed (I know it says it on this page but these people are just not reading it lol) or have it take them to a different page automatically so they don’t try and use the back button.

I hope that made some sense


Jason Lee

May 22, 2015 at 1:27 pm

Maybe is it possible to add an image to the php file somehow?


Lorenzo Orlando Caum

  • Support Staff

May 22, 2015 at 1:45 pm

Okay, that file is a template so it can be relocated for editing:

http://cl.ly/image/0s0w243G2X21

You can move it here:

/wp-content/uploads/espresso/templates

Then you can add any additional content and save changes.

Do you have the image available?


Lorenzo


Jason Lee

May 22, 2015 at 2:06 pm

Yes, I have that file copied over into that folder and the image is created.

The image link is
http://DOMAIN.com/wp-content/uploads/2014/03/backbutton.png

and I need it to link to
http://DOMAIN.com/members-dashboard/

and I assume I can just change out the domain for the other sites.

Thanks again πŸ™‚


Lorenzo Orlando Caum

  • Support Staff

May 22, 2015 at 2:43 pm

Hi, I tried to load the image with the staging/testing site URL swapped in but it didn’t work.

Could you upload the image to a service like Imgur, tingrab, or cloudapp and then link to it here?

I need to see the image so I can specify the height and width in the link that will be added to the template file.

Thanks


Lorenzo


Jason Lee

May 22, 2015 at 3:01 pm

Whoops, my bad there. I have uploaded it to the test site


Lorenzo Orlando Caum

  • Support Staff

May 25, 2015 at 10:04 am

Hi, that link still isn’t working. Could you provide an updated URL?

http://makec*****f***.com/wp-content/uploads/2014/03/backbutton.png

Thanks


Lorenzo


Jason Lee

May 25, 2015 at 11:13 pm

http://DOMAIN.com/wp-content/uploads/2015/05/backbutton.png


Tony

  • Support Staff

May 26, 2015 at 5:51 am

Hi Jason,

Is this what you are looking to do – http://take.ms/ldj6m

Payment_page is actually used before a registration is complete, you want to edit the payment_overview.php template.

User customisations are usually not something we provide on the forums, however this is a simple img tag so I’ve actually done this for you – http://take.ms/QSLNZ

Save that file within /wp-content/uploads/espresso/templates/

You’ll then see the same as my screenshot from above on your thank you page.

If you open up that file using something like Sublime Text or NotePad++ (do not use MS word as it will add formatting characters to the file)

Look on line 5 you’ll find my addition.


Jason Lee

May 26, 2015 at 1:01 pm

Hey Tony,

Thanks for your response. Our users actually never get to that page for some reason? They are told on the payment_page that their order is completed and then they are hitting the back button because they don’t think it’s completed (they don’t like to read apparently lol) and then clicking forward again and making several reservations. All of our event reservations are free (it’s a paid membership through s2member gaining access to free events)


Jason Lee

May 26, 2015 at 5:02 pm

I am going to add that to the payment page (I didn’t realize I could just use an html image tag above the php). Before closing out this ticket, are there any other things I’m missing that might stop these people from using the back button and making multiple reservations by accident?


Lorenzo Orlando Caum

  • Support Staff

May 26, 2015 at 9:17 pm

Hi, that was what I was trying to setup for you but I needed the image file.

If the registration is complete at that time, then the registrant could move back and register again. If they are in a middle of a registration, then there should be a notice that appears as a warning that their registration could be lost.


Lorenzo

Viewing 16 reply threads

The support post ‘Auto Return Url Issues’ 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