Support

Home Forums Event Espresso Premium Check-In in HTML Receipt (Use of the receipt as a certificate after the event) Reply To: Check-In in HTML Receipt (Use of the receipt as a certificate after the event)

Reply To: Check-In in HTML Receipt (Use of the receipt as a certificate after the event)

Author Replies
motio # Posted on April 20, 2018 at 2:54 pm

Hi Josh,

that’s actually is what I have trouble with, I can’t figure out how to load the registration object.

I found this https://github.com/eventespresso/event-espresso-core/blob/master/docs/T–Tutorials/customizing-the-ee-thank-you-page.md description but it shows me an error that registrations() is a member function.

EE_Registry::instance()->load_model( 'Transaction' );
$transaction = EE_Registry::instance()->load_model( 'Transaction' )->get_transaction_from_reg_url_link();
$registrations = $transaction->registrations(); 

Could you hint me to another way how to have the registration object?

Do NOT follow this link or you will be banned from the site!