Posted: 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! |
|
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);
|
|
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
|
|
We just finished adding this in. It’s going through testing now, but if you would an early copy, send us an email. |
|
Yes. I would like a copy, please. |
|
Sidney, |
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.