Support

Home Forums Event Espresso Premium Invoice "Pay Online" not working

Invoice "Pay Online" not working

Posted: February 27, 2014 at 8:50 am


Dan Rositano

February 27, 2014 at 8:50 am

I just setup the invoice option as a payment method. I tested and when I view the invoice and select “Pay Online” it takes me to the Thank You page where all I see is my [ESPRESSO_PAYMENTS] shortcode. Am I missing something with setup. Everything else seems to be working fine.

Thanks in advance for your help.


Josh

  • Support Staff

February 27, 2014 at 9:07 am

Hi Dan,

Can you go to Event Espresso > General Settings and make sure they’re all pointing to the correct pages? There’s also more details in this guide:

https://eventespresso.com/wiki/the-basic-settings/#page


Dan Rositano

March 2, 2014 at 6:05 pm

Josh,

I checked and everything is pointing to the correct pages. All the events and everything else I have setup is working fine its just when we use that link the page comes up blank.

Dan


Tony

  • Support Staff

March 3, 2014 at 5:56 am

Hi Dan,

Can you link us to the site so we view and run a test registration on please?


Dan Rositano

March 3, 2014 at 6:23 am

Sure, the site is http://www.asamidwest.com.


Tony

  • Support Staff

March 3, 2014 at 7:26 am

Hi Dan,

I noticed there is multiple thank-you pages on the site. I found 2 one with an ID of 986, another with an ID of 525, there may also be others.

Can you confirm the correct thank-you page is selected within Event Espresso -> General Setting and the ‘Auto Return URL (Thank You and Return Payment page)’ dropdown please.


Dan Rositano

March 3, 2014 at 7:33 am

I checked and found one other thank you page. I put the duplicate in the trash. I confirmed the correct Thank you page under the general settings. The link is http://www.asamidwest.com/asa-midwest-council-events/thank-you/.


Tony

  • Support Staff

March 3, 2014 at 7:37 am

Ok, so now we know that is the correct page, the shortcode should not be displayed.

To test, can you create a new temporary page, call it something that will be easy to identify within above dropdown and place the the [ESPRESSO_PAYMENTS] shortcode within it, then publish.

Now go to Event Espresso -> General Settings. Change the ‘Auto Return URL (Thank You and Return Payment page)’ dropdown, only this time to our newly created temp page. Then save the settings.

Load up the new page. Do you see the shortcode or a blank page?

If you could also include a link to the new page here, I can test it is working correctly.


Dan Rositano

March 3, 2014 at 1:30 pm

Tony,

I created a new temporary page and published. I changed the Auto Return URL setting to the new temp page. I then went back to the invoice and clicked Pay Online. A funny thing happened. Instead of going to http://www.asamidwest.com/test-thank-you (the new temp page I setup) it back to the http://www.asamidwest.com/asa-midwest-council-events/thank-you that was setup before.


Dan Rositano

March 3, 2014 at 1:43 pm

Tony,
I figured out he issue with the invoice going to the wrong link but then I deleted the old page and created a new one and now it works. It looks like the problem is resolved.

Thank you.


Tony

  • Support Staff

March 4, 2014 at 1:58 am

Hi Dan, I’m glad you got this working 🙂

To explain a little for any future readers.

With EE3 sometimes one of the core shortcode pages (in this case thank-you and therefor ESPRESSO_PAYMENTS) just randomly stops working. The page displays the shortcode even tho all the settings are correct within Event Espresso, the solution is to re-create the page and set that new page within the Event Espresso -> General Settings.

The issue regarding the incorrect URL was likely due to the fact that the PDF has the link hardcoded within it, so if you generate an invoice with /domain.com/thank-you/*UNIQUE-PAYMENT-ID* set as the payments page within ee, that page is hardcoded into the ‘Pay Online’ button. If you then change the payments page to domain.com/myevents/thank-you/ older PDF’s will still link to the previous address, therefore if changing these pages its recommended to try and keep the URL structure the same (if invoices are still outstanding), re-direct the old page to the new or resend the invoices.

The support post ‘Invoice "Pay Online" not working’ 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