Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Authorize.net Merchant Email Receipt - Add Event Date to Order Information | Event Espresso - Staging Server

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

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 - Staging Server