Support

Home Forums Event Espresso Premium EE Send EventID to Authorize.net with each transaction

EE Send EventID to Authorize.net with each transaction

Posted: March 3, 2014 at 11:18 am


KIROS

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
Event Espresso – 3.1.36.3.P
No
http://www.kiros.org


Garth

  • Support Staff

March 3, 2014 at 5:18 pm

Hi Nelson,

I’ll have one of our staff look into this and get back with you.


KIROS

March 4, 2014 at 7:42 pm

Is it possible to receive an update regarding this?


Dean

March 5, 2014 at 2:08 am

Hi Nelson,

A Ticket has been raised for a developer to look into this, so please bear with us while we make our inquiries.


KIROS

March 12, 2014 at 11:15 am

Hello, Checking in to see if there has been any progress on this? Thank you!


Garth

  • Support Staff

March 13, 2014 at 10:43 am

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?


KIROS

March 13, 2014 at 10:45 am

We just started using EE in January. This was never a working feature. Thank you!


Sidney Harrell

March 13, 2014 at 2:07 pm

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.


KIROS

March 13, 2014 at 2:20 pm

Then the information will be sent to Authorize.net? Where in Authorize.net should we look for this info? Thank you!


Lorenzo Orlando Caum

  • Support Staff

March 13, 2014 at 2:48 pm

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?


Lorenzo


KIROS

March 17, 2014 at 10:51 am

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?


KIROS

March 18, 2014 at 8:47 pm

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!


Sidney Harrell

March 19, 2014 at 8:04 am

What are you getting now for the item description?
Note that by default, we do not send a description for the whole order, only for each item. If you wanted to put the event ids in the description for the whole order, it gets a little more complex. You would need to add each event id to a string as you loop over the cart items, then add that string to the order, like so:

$transaction->description = $event_ids;


KIROS

March 19, 2014 at 10:58 am

nothing is coming up in the item description.


KIROS

March 21, 2014 at 3:47 pm

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?
1 $transaction->description = $event_ids;

We and Authorize.net still do not read anything in the item description.
Thank you!

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.

Event Espresso