Posted: March 3, 2014 at 11:18 am
We would like Event Espresso to send the event ID to Authorize.net with each transaction. How do we set this up? We are trying to configure a easy way to see all revenue from one event. Wordpress 3.8.1 |
|
Hi Nelson, I’ll have one of our staff look into this and get back with you. |
|
Is it possible to receive an update regarding this? |
|
|
Hi Nelson, A Ticket has been raised for a developer to look into this, so please bear with us while we make our inquiries. |
Hello, Checking in to see if there has been any progress on this? Thank you! |
|
This is still on the list for the developers. What version did you upgrade from and what version did you upgrade to (if you remember) when this quit working? |
|
We just started using EE in January. This was never a working feature. Thank you! |
|
|
Looks like you are using authorize.net AIM, so you would make a copy of the aim folder from plugins/event-espresso/gateways to uploads/espresso/gateways so that your changes will not get overwritten in an update. Then look in aim_ipn.php and change line 59 to: $sql = "SELECT a.final_price, a.quantity, ed.id, ed.event_name, a.price_option, a.fname, a.lname FROM " . EVENTS_ATTENDEE_TABLE . " a JOIN " . EVENTS_DETAIL_TABLE . " ed ON a.event_id=ed.id "; so that the event id will be picked up from the DB, and then line 67 to: substr($item->id . ' ' . $item->price_option . ' for ' . $item->event_name . '. Attendee: '. $item->fname . ' ' . $item->lname, 0, 255), so that the id will get added to the item description. Obviously, you can customize the output to suit your needs. |
Then the information will be sent to Authorize.net? Where in Authorize.net should we look for this info? Thank you! |
|
Looking at the code that was shared prior, this information should appear in the description area for the transaction. Were you able to apply the edits and test? — |
|
It did not work. Authorize.net suggests “change your API request to include that ID in the description or customer ID or something like that.” How do we do this? |
|
Authorize.net suggests “change your API request to include that ID in the description or customer ID or something like that.” Are you able to provide instruction on how to do so? Thank you! |
|
|
What are you getting now for the item description? $transaction->description = $event_ids; |
nothing is coming up in the item description. |
|
Could you please send specific instructions on where to and how to change our API request to include eventID in the description sent to Authorize.net. Where would this code be added? We and Authorize.net still do not read anything in the item description. |
|
The support post ‘EE Send EventID to Authorize.net with each transaction’ 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.