cancel
Showing results for 
Search instead for 
Did you mean: 

lineItems required to be in specific location on transactionType = authCaptureTransaction

I ran into issues with lineItems and would like to verify that I am doing it properly.

The documentation show the "lineItems" as an array of lineItem but the example is not using an array.  Is this a mistake in the documentation? When I used json which follows the documentation I got an error.

mikecegroup_1-1678307996961.png

Also, when I added the "lineItems" array at the end of the "transactionRequest" I got an error. It only worked if the "lineItems" followed the "payment" element. Is this positioning required?

This worked:

mikecegroup_2-1678308152203.png

While this did NOT:

mikecegroup_3-1678308169304.png

Any help is appreciated (new to authorize.net)!

 

 

mikecegroup
Member
0 REPLIES 0