Post

1 follower Follow
1
Avatar

Authnet - OP Refunds should check if the transaction has settled

IDSeal LLC

We discovered when using Authnet gateway. if you have a success transaction in OP and then refund in OP on the same day the transaction occurred. The transaction will display as Void in Authnet, but show as Refunded in OP. This is because the transaction hasnt settled in authnet, so no money was transferred between banks.

This threw off our books and took us a minute to identify it. It'd be awesome if there was added logic in op, so if we refund a transaction in ontraport and ithe authnet part is unsettled/void, it would either error back to the ontraport user and ask to void the transaction. Or simply void the transaction. 

I dont know your Authnet implementation, but in case it's simply using their API. They do have responses for refund calls for this case here: https://developer.authorize.net/api/reference/dist/json/responseCodes.json

specifically: 

"code" : "50",
		"text" : "This transaction is awaiting settlement and cannot be refunded.",
		"integration_suggestions" : "", 
		"other_suggestions" : "Credits or refunds may only be performed against settled transactions. The transaction against which the credit/refund was submitted has not been settled, so a credit cannot be issued."

 

Another easier idea that could help us but is not automated - Allow refunded transactions in OP to be set to Void, so we can manually make our books match between Authnet and OP.

Thanks!

Please to leave a comment.