Checkout flow
1. User enters cc and shipping addres -> Submit to server -> server does a prior auth with as little informaiton as possible and a bogus amount
2. New page user selects shipping options -> Submit to server
3. New Page user reviews and clicks purchase -> Submit to server -> Server does a prior auth based on step 1 (this is when I get the generic error)
Here is a sample Auth Only + Prior Auth and Capture request and response xml
https://gist.github.com/styks1987/cfe3dc3f622b055f4f46
Can anyone look at this and shed some light on to this error I am getting?
thanks,
Solved! Go to Solution.
The only issue is the amount
from doc http://www.authorize.net/support/AIM_guide_XML.pdf
Prior Authorization and Capture
The amount being requested for capture is less than or equal to the original authorized amount. Only a single Prior Authorization and Capture transaction can be submitted against an Authorization Only.
Look like it the line item. either look at the pdf or the following
03-13-2015 12:05 PM - edited 03-13-2015 12:14 PM
Thank you for your suggestion.
I created a new request that made sure the authorized only price was higher than the final amount.
I have also updated my gist with the response for the auth only. Obviously, the transaction ids will not match
03-13-2015 12:18 PM - last edited on 03-13-2015 12:52 PM by RichardH
The only issue is the amount
from doc http://www.authorize.net/support/AIM_guide_XML.pdf
Prior Authorization and Capture
The amount being requested for capture is less than or equal to the original authorized amount. Only a single Prior Authorization and Capture transaction can be submitted against an Authorization Only.
Look like it the line item. either look at the pdf or the following
03-13-2015 12:05 PM - edited 03-13-2015 12:14 PM
Thank you for your suggestion.
I created a new request that made sure the authorized only price was higher than the final amount.
I have also updated my gist with the response for the auth only. Obviously, the transaction ids will not match
03-13-2015 12:18 PM - last edited on 03-13-2015 12:52 PM by RichardH
Look like lineItems is the issue.
03-13-2015 12:53 PM
Thanks, it looks like I was trying to add to much information after auth. I need to submit that on the first request. Thanks
03-13-2015 12:55 PM
I think they only update a few fields after auth_only, really need to get everything in during auth_only
03-13-2015 12:57 PM