Support

Home Forums Event Espresso Premium Different thank you messages based on payment type

Different thank you messages based on payment type

Posted: August 18, 2023 at 7:33 pm

Viewing 1 reply thread


Von Nostrand

August 18, 2023 at 7:33 pm

Hi Guys

I am currently running two payment methods Stripe and Direct Deposit/EFT. I would like to have a different thank you message for each payment type on the thank you page. This is because when they get there via Stripe their enrolment will be complete and Direct Deposit/EFT it will stil be pending. Currently I have used the following filter function (from another one of your posts in the forum) but this shows for both payment methods. Is there a way to do this? Thanks in advance!


add_filter( 'FHEE__thank_you_page_overview_template__order_conf_desc', 'ee_change_thank_you_page_congratulations_messaging' );
function ee_change_thank_you_page_congratulations_messaging() {

return 'my message';
}

Von


Tony

  • Support Staff

August 22, 2023 at 7:20 am

Hi Von,

We don’t have the option to change the thank you page, but it is possible to change to the text you are filtering based on the payment method, via another filter.

You would need something like this:

https://gist.github.com/Pebblo/41af7900443a7894076c90cfaa4777a3

Viewing 1 reply thread

The support post ‘Different thank you messages based on payment type’ 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