Home Forums Event Espresso Premium Thank you Message

Thank you Message

Posted: July 10, 2014 at 6:07 pm

Von Nostrand

July 10, 2014 at 6:07 pm

Hi Guys

I’ve had a good search and couldn’t find anything. Perhaps I’m missing something obvious. But I would like to add a message on the Thank You page for completed payments.

I know the Thank You page renders payment_overview template. I am a complete coding rookie but I imagine something like

if ($payment_status="Completed") {
  echo "My message for completed payments";
} else {
  echo "My message for non completed payments";

Would something like this work?

thanks for your help, cheers

Lorenzo Orlando Caum

  • Support Staff

July 10, 2014 at 7:38 pm

Hi Von,

Please try this:

switch ( $payment_status ) {
  case 'Completed':
    // tracking code goes here
  echo "";


Von Nostrand

July 10, 2014 at 7:44 pm

Hi Lorenzo

Thanks for your help. Very much appreciated.

Just to confirm, can I use your code in addition to having the $payment_status_translated echo later on in the payment_overview

My Message (using your code)

Payment Overview Data
payment type

Von Nostrand

July 11, 2014 at 1:59 am

This one is now resolved, I have been able to achieve what I wanted using the code, thanks.

The support post ‘Thank you Message’ 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  Von Nostrand 5 years, 10 months ago ago

Topic Tags


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