Support

Home Forums Event Espresso Premium Invoice link in an email template redirecting to home page

Invoice link in an email template redirecting to home page

Posted: June 5, 2018 at 10:06 pm

Viewing 18 reply threads


Andy Buck

June 5, 2018 at 10:06 pm

Hi,

I have just updated to Expresso version 4

However the email that confirms a registration has an invoice link in it which does not work and redirects to the home page.

Is there an option in the admin that must be enabled for this to work ?

or any other suggestion please ?

Invoice:
Download PDF Invoice

Cheers,
Alex


Tony

  • Support Staff

June 6, 2018 at 2:13 am

Hi Alex,

If you go to Event Espresso -> Messages -> Settings.

Under the HTML heading is the Invoice messenger in the active or inactive section?


Andy Buck

June 6, 2018 at 3:02 am

Hi Tony,
It is active

Cheers,
Alex


Tony

  • Support Staff

June 6, 2018 at 3:20 am

Hmm, ok, first step.

De-activate that messenger by dragging it over into the inactive section – http://take.ms/dhyIg

Wait a couple of seconds and then move it back, then retest the invoice link.

Also, I think you meant to include a link to an invoice above but the link didn’t come through, can you send me a link to a test invoice? (I’ve just added a registration to your site, you can use the link for that invoice if preferred).


Andy Buck

June 6, 2018 at 3:35 am

yes sure

this is the generated link

https://mandrillapp.com/track/click/30877463/etmcourse.com?p=eyJzIjoiekV0UkxuNHVvZ0xVeEozTWZxNDRHTGQ0MzZvIiwidiI6MSwicCI6IntcInVcIjozMDg3NzQ2MyxcInZcIjoxLFwidXJsXCI6XCJodHRwczpcXFwvXFxcL2V0bWNvdXJzZS5jb21cXFwvP2Rvd25sb2FkX2ludm9pY2U9dHJ1ZSZhdHRlbmRlZV9pZD0yNDYwJnJfaWQ9MjMyLTViMTYwNDIyNTM1YTlcIixcImlkXCI6XCI3YjU2ZWM4MjgwNmI0YTYyODY3ZWY3OGM1MDE5ZmI5YlwiLFwidXJsX2lkc1wiOltcImMxODg3NTE4MzNjYmUzZmM0NWU4Yjc1YjE1OTdiNTU0MmQ2ZTM2OTZcIl19In0

Okay sure, let me try that

Cheers,
Alex


Andy Buck

June 6, 2018 at 3:44 am

I have tried to deactivate and then activate but still getting the same redirection to the home page


Tony

  • Support Staff

June 6, 2018 at 3:54 am

Tha link redirects to:

https://etmcourse.com/?download_invoice=true&attendee_id=2460&r_id=232-5b160422535a9

Which is an EE3 invoice link and will not work with EE4 (EE4 is not generating that link).

This is an invoice link for EE4:

https://demoee.org/barnwoodworkshop?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=invoice&context=purchaser&token=1-c35dbe7b7d3d3657b625943421cca4d8&GRP_ID=15&id=12

Notice its very different to your link.

So, how are you generating the links through MailChimp? EE doesn’t send the confirmation emails through MailChimp by default.

  • This reply was modified 6 years, 5 months ago by Tony.


Tony

  • Support Staff

June 6, 2018 at 3:55 am

My bad, its Mandrill! (in my head I saw Mailchimp as they are the sister company).

But either way, EE4 wont generate Invoice links that look like the one above, can you either post a screenshot of the email in question, or forward it to support[at]eventespresso.com so I can view it?

I don’t think its an EE4 email.


Andy Buck

June 6, 2018 at 4:09 am

Yes sure, I will forward it now..

PS..
Thanks a lot for your help with this


Tony

  • Support Staff

June 6, 2018 at 4:18 am

Yeah, so that’s an EE3 email and none of the links in that email will continue to work with EE4.

I’m assuming that registration was made just before you migrated to EE4?


Andy Buck

June 6, 2018 at 4:33 am

I am so sorry if that is the case..
I was forwarded this email, saying the link does not work and I could not figure out why..
It makes sense now…

Kind Regards,
Alex


Tony

  • Support Staff

June 6, 2018 at 4:49 am

No problem at all, it’s why we are here ๐Ÿ™‚

The invoice link isn’t included in the registration confirmation email in EE4 (Registration Approved email) but I can provide details on how you can add it to the email and then trigger that message for the registrant in question if that will help?

(The invoice link in that email will work as it will have then been generated by EE4)


Andy Buck

June 6, 2018 at 10:20 pm

Thanks Tony ๐Ÿ™‚

Yes please, if you can provide the instructions that would be great

Cheers,
Alex


Andy Buck

June 6, 2018 at 10:28 pm

Hi Tony,
Also another question, does the customer receive a tax invoice at any point ?

If I don’t include it in registration confirmation ( as I will do after I have your instructions ) is there any other time that they would receive it after the purchase via email ?

Many thanks
Alex


Tony

  • Support Staff

June 7, 2018 at 3:00 am

Yes please, if you can provide the instructions that would be great

Ok, so when do you want the user to receive this link? After they have paid?

Or are you offering an ‘Invoice’ payment option and want users to receive an email when their registration is ‘pending payment’ that has a link to the invoice?

If you let me know how you want it to work I’ll let you know which message template to edit.

Also another question, does the customer receive a tax invoice at any point ?

If I donโ€™t include it in registration confirmation ( as I will do after I have your instructions ) is there any other time that they would receive it after the purchase via email ?

Not view email, but the thank you page (shown after the user has paid) shows a button to view the order confirmation, from there the user can switch to the invoice using a button at the top of the page.


Andy Buck

June 7, 2018 at 8:09 pm

Hi Tony,
Thanks for the information.

We would like them to view it in the registration confirmation email please

After they have made the payment

Kind Regards,
Alex


Tony

  • Support Staff

June 8, 2018 at 2:35 am

Ok, so that’s the ‘Registration Approved’ message.

Go to Event Espresso -> Messages -> Default message templates.

Find ‘Registration Approved’ in the list and click on the ‘Registrant’ link to edit the email sent to the registrant.

(See more on working with messages ‘contexts’ here: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/)

Now in the main content section you can add a shortcode to output a link to the invoice, which one depends on exactly what you want to display:

[INVOICE_LINK] – will output ‘Click here for Invoice’ as link.

[INVOICE_URL] – will output the actual URL used for the invoice.

So something like this – http://take.ms/21gPy

Will output like this – http://take.ms/7SRb9

Is that what you are looking for?


Andy Buck

June 8, 2018 at 9:41 pm

That was perfect thanks..

Just done it!

Cheers,
Alex


Tony

  • Support Staff

June 11, 2018 at 2:26 am

You’re most welcome ๐Ÿ™‚

Any further questions just let us know.

Viewing 18 reply threads

The support post ‘Invoice link in an email template redirecting to home 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.

Event Espresso