Reply
Member
Posts: 1
Registered: ‎08-01-2011

add shipping and handling

how can i add shipping and handling in AIM Transaction Submission API ? Please help

Posts: 1,476
Topics: 33
Kudos: 34
Solutions: 126
Registered: ‎09-14-2009

Re: add shipping and handling

You don't add it to the API. The API expects the final total to be charged to be submitted only. So if there is shipping and handling to be charged you need to add it to the total amount of the sale and then send that amount over to the AIM API.

-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: add shipping and handling

There are fields for things like duty, freight, tax, etc. but none of those affect the total amount charged. They're there for informational purposes only. So include them in the x_amount (or amount) total value.

 

I checked with the documentation PDF just to make sure.