prepdoctors
|
May 11, 2016 at 9:14 am
Dear Support,
I have EE version 3.1.36.6.P
I’d like to achieve the following tasks:
– Add the Transaction ID in the ‘registration confirmation’ email sent to the admin
– Receive a copy of the ‘Payment Received’ email that is sent to my clients
======================
I tried achieving the first task by adding the following lines
//Transaction ID
if (!empty($data->attendee->txn_id)) {
$admin_additional_info .= ‘‘ . __(‘Transaction ID: ‘, ‘event_espresso’) . ‘<br />’;
$admin_additional_info .= $data->attendee->txn_id;
}
under:
======
//Registration ID
if (!empty($data->attendee->registration_id)) {
$admin_additional_info .= ‘‘ . __(‘Registration ID: ‘, ‘event_espresso’) . ‘<br />’;
$admin_additional_info .= $data->attendee->registration_id;
}
but it didn’t work for some reason.
Please advise on both issues
Thank you!
|