Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Writing a test for an authorize.net refund

Authorize.net won't ever allow you to refund a transaction that was submitted the same day. Writing a test that creates a transaction and then refunds it, therefore, is tough.

I couldn't find a way to do it through the API so:

Can I ask Authorize.net to "settle" a test transaction?

Or .. What's the right way to do this?

like image 483
Trevoke Avatar asked May 21 '15 13:05

Trevoke


People also ask

What is test mode on a credit card?

Test Mode allows you to test your connection to the payment gateway without actually authorizing or charging real credit cards or bank accounts. Transactions submitted while your account is in Test Mode are not stored by the payment gateway and will not be viewable in search results or reports.

How long does Authorize.net payout take?

When the merchant captures the transaction, Authorize.net settles the transaction within 24 hours. After settlement completes, the acquiring bank deposits the captured funds into the merchant's bank account.

What does captured pending settlement mean?

Captured/Pending Settlement — Transactions with this status have been approved and captured, and will be picked up and sent for settlement at the transaction cut-off time. Could Not Void — Transactions with this status experienced a processing error during a payment gateway generated void.


1 Answers

Settlement is a batch operation that occurs once a day starting after the transaction cut-off time specified in the merchant interface. You must wait until settlement is complete. In the sandbox, there is no way for a developer to force settlement.

like image 138
rhldr Avatar answered Sep 19 '22 19:09

rhldr