Support

Home Forums Event Espresso Premium Authorize.net – Submitting Itemized Order Information

Authorize.net – Submitting Itemized Order Information

Posted: September 20, 2012 at 3:23 pm


isavage

September 20, 2012 at 3:23 pm

I’d like to include itemized order information in the info sent to Authorize.net, per their instructions on page 57 of this doc: http://www.authorize.net/support/SIM_guide.pdf

Can you tell me where to place the code they’re referring to?

I’m also interested in learning about how to do the same thing with the AIM version, per their instructions here, on page 27: http://www.authorize.net/support/AIM_guide.pdf

Can you also tell me how this would be achieved?

Thanks!
Isaac


isavage

September 20, 2012 at 5:32 pm

In digging around a bit more, I believe the file I should modify is the authnet_vars.php file. I see that you have some code in there that is all coupled into the “Description” field name in my Authorize.net detailed reports:

$myAuthorize->addField(‘x_Description’, stripslashes_deep($event_name) . ‘ | ‘ . \__(‘Reg. ID:’, ‘event_espresso’) . ‘ ‘ . $attendee_id . ‘ | ‘ . \__(‘Name:’, ‘event_espresso’) . ‘ ‘ . stripslashes_deep($fname . ‘ ‘ . $lname) . ‘ | ‘ . __(‘Total Registrants:’, ‘event_espresso’) . ‘ ‘ . $quantity);

Using the coding requirements listed in their support doc (bottom of page 52), I’m not sure how to make this work. All I want to include is the “class name” and the “total number of registrants.”

Can you tell me how this should be coded?

Here’s my best guess, based on their instructions: $myAuthorize->addField(‘x_line_item’, ($event_name)$quantity);

  • This reply was modified 11 years, 7 months ago by  isavage.


isavage

September 20, 2012 at 5:38 pm

for some reason, it’s not showing the full code. Here’s another try…

$myAuthorize->addField(‘x_line_item’, ($event_name)$quantity);

Hopefully, this works. You should see 4 bracket-pipe-bracket’s at the end

  • This reply was modified 11 years, 7 months ago by  isavage.


Sidney Harrell

September 25, 2012 at 7:28 pm

We just finished adding this in. It’s going through testing now, but if you would an early copy, send us an email.


isavage

September 25, 2012 at 9:44 pm

Yes. I would like a copy, please.


Carina Hume

October 5, 2012 at 11:35 am

Sidney,
I’m having a similar issue with EE not sending order information to Authorize.net. I’m using the AIM option. The suggestions listed above are a bit beyond me. Will there be a update in the near future that will address this issue? Or can some one from EE give me a hand with this now?


Josh

  • Support Staff

October 5, 2012 at 4:17 pm

Hi Carina,

We’re working on testing this to make sure it will not cause any unintentional bugs with the payment process. We will include it in the next release if it passes the tests.

The support post ‘Authorize.net – Submitting Itemized 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