Reply
Member
Posts: 4
Registered: ‎03-13-2015
Accepted Solution

Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

[ Edited ]

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,


Accepted Solutions
Solution
Accepted by topic author styks1987
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

[ Edited ]

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

http://developer.authorize.net/api/reference/#payment-transactions-capture-a-previously-authorized-a...

 

 

View solution in original post

Solution
Accepted by topic author styks1987
‎08-21-2015 01:58 AM
Member
Posts: 4
Registered: ‎03-13-2015

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

[ Edited ]

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

 

https://gist.github.com/styks1987/cfe3dc3f622b055f4f46

View solution in original post


All Replies
Solution
Accepted by topic author styks1987
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

[ Edited ]

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

http://developer.authorize.net/api/reference/#payment-transactions-capture-a-previously-authorized-a...

 

 

Solution
Accepted by topic author styks1987
‎08-21-2015 01:58 AM
Member
Posts: 4
Registered: ‎03-13-2015

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

[ Edited ]

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

 

https://gist.github.com/styks1987/cfe3dc3f622b055f4f46

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

Look like lineItems is the issue.

Member
Posts: 4
Registered: ‎03-13-2015

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

Thanks, it looks like I was trying to add to much information after auth. I need to submit that on the first request. Thanks

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Auth + Prior Auth I get generic E00001 Error - Can I change settings from the initial auth?

I think they only update a few fields after auth_only, really need to get everything in during auth_only