Support

Home Forums Event Espresso Premium Authorize.net Merchant Email Receipt – Add Event Date to Order Information

Authorize.net Merchant Email Receipt – Add Event Date to Order Information

Posted: January 4, 2013 at 4:25 pm


Mark

January 4, 2013 at 4:25 pm

Is there any way to add more of the event details to the merchant receipt that is sent by authororize.net such as the event date? currently only the event name shows up.

Thank you!


Josh

  • Support Staff

January 7, 2013 at 3:25 pm

Hi there,

There isn’t currently an option to add additional details to the authnet receipts. It is possible to add something like the start date of the event to the receipt, but it would take some knowledge of PHP and mySQL.

For example, in the /gateways/aim/aim_ipn.php file, where it builds the SQL query on line 54 the start date could be added:

$sql = "SELECT a.final_price, a.quantity, ed.event_name, ed.start_date, a.price_option, a.fname, a.lname FROM " . EVENTS_ATTENDEE_TABLE . " a JOIN " . EVENTS_DETAIL_TABLE . " ed ON a.event_id=ed.id ";

then on line 62 where it adds the transaction details the start date could be added there:

substr($item->price_option . ' for ' . $item->event_name . 'on' . $item->start_date . '. Attendee: '. $item->fname . ' ' . $item->lname, 0, 255),

Please note that Authnet limits the number of characters to 255, so if there is a really long event name, the additional details that follow the event name may get cut off.

The support post ‘Authorize.net Merchant Email Receipt – Add Event Date to Order Information’ 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  Josh 6 years, 11 months ago ago

Topic Tags

Notifications

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