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

Viewing 1 reply thread


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.

Viewing 1 reply thread

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.

Event Espresso