Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 4
Registered: ‎05-20-2015

Authorize.net charging twice

When a transaction is submitted with AUTH_CAPTURE using integration code, sometimes Authorize.net charging twice, once for the original amount and once for the $0.00. And customer receiving email for two charges one for original amount and one for $0.00. And we found this is happening in case of lost internet connection or credit card declined. What can be done to fix this?

Posts: 2,765
Topics: 57
Kudos: 270
Blog Posts: 67
Registered: ‎12-05-2011

Re: Authorize.net charging twice

Hello @ssdeveloper

 

Can you duplicate this in the sandbox, or does it only occur in your production account?  Are you using CIM for customer profiles?

 

Richard

Member
Posts: 4
Registered: ‎05-20-2015

Re: Authorize.net charging twice

Not using CIM. Customer credit card information is stored in our database.

Our code loops through a list of invoice numbers and for each invoice number sends a AUTH_CAPTURE transaction  request to Authorize.net. One of the transaction in the loop is credit card declined. And we are seeng two set of transactions once with original amount and once with $0.00 amount for all invoices in the list and for the $0.00 amount we see valid amount required error.  Does Authorize.net try to resubmit in case of creditcard declines

Posts: 2,765
Topics: 57
Kudos: 270
Blog Posts: 67
Registered: ‎12-05-2011

Re: Authorize.net charging twice

Authorize.Net does not retry transactions.  For each API Request, there is a corresponding Transaction ID.

 

Can you duplicate in the sandbox?  If this is for your production account, I would recommend contacting customer support as they have better tools to look at your transactions.

 

Richard