Error Issuing Refund

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Error Issuing Refund

Post by mbartens » Fri Feb 26, 2016 6:02 am

Hi,
I'm using Authorize.Net CIM. After successfully Capturing an order I tried to refund it. This is the data in the ac_Transactions table:
TransactionTypeId: 6
ResponseCode:E00027
ResponseMessage:The transaction was unsuccessful.

ProviderTransactionId: Null
AuthorizationCode: Null
AVSResultCode: Null
CVVResultCode: Null

Any ideas on why this might be happening?
May

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error Issuing Refund

Post by AbleMods » Sun Feb 28, 2016 11:18 am

With Authorize.Net, you cannot refund a captured payment until that day's settlement batch has been completed.

For example, let's say you captured the payment at 10:00am. Your daily settlement is configured in Authorize.Net to run at 9:00pm.

When you try to do a refund at 4:00pm from within AbleCommerce, it will fail.

To issue a refund before that day's settlement has run, you must log into the Authorize.Net Merchant website and issue the refund there. Or simply wait until the daily batch settlement has occurred and then issue the refund within AbleCommerce.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

Re: Error Issuing Refund

Post by NC Software » Sun Feb 28, 2016 3:26 pm

I've mentioned this in the past, not sure how the Auth.net payment plug-in is coded but it should always try a REFUND first and if that fails immediately fallback to a CREDIT transaction type. The merchant/user should never have to deal with this and batch times, etc.
Neal Culiner
NC Software, Inc.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error Issuing Refund

Post by AbleMods » Sun Feb 28, 2016 5:00 pm

I see no 'credit' transaction type in the authorize.net API. There is a credit-bank-account type, but that's not related to a charge card transaction.

There is the 'void' transaction type, and I do believe it is supported by Able. So you might try doing a void if the transaction is unsettled, should work for you and you wouldn't have to log into the merchant website.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
NC Software
AbleCommerce Partner
AbleCommerce Partner
Posts: 4620
Joined: Mon Sep 13, 2004 6:06 pm
Contact:

Re: Error Issuing Refund

Post by NC Software » Sun Feb 28, 2016 5:48 pm

Refund and Credit are the same. I should have said:

First try void then fallback to Refund/Credit. Some APIs use the term credit. Moral is try to cancel prior to batch, put money back if after batch.
Neal Culiner
NC Software, Inc.

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: Error Issuing Refund

Post by mbartens » Tue Mar 01, 2016 3:10 am

Thank you! This explains it.
May

Post Reply