问题
I am just referring the docs of Authorize.net. I will soon be working on a Automated Recurring Billing application. The code seems to be pretty simple for this as the doc is very well written. However in the samples I can't find how to refund the transaction.
This is the link that I am referring to:
http://developer.authorize.net/downloads/samplecode/
Any help would be appreciated. Thanks in advance :)
回答1:
You can't do refunds with the ARB API. It must be done either through the AIM API or the merchant control panel. If you use AIM set x_type
to CREDIT
instead of AUTH_CAPTURE
.
来源:https://stackoverflow.com/questions/8014583/how-do-you-refund-a-transaction-in-authorize-net