Hi! A little background about my project. I'm buiding a system for restaurant online food ordering. Sometimes people might want a refund on certain items in their order so I need to create a partial refund function. I'm working with PHP.
So... my questions are:
1. Do credit(refund) and void always set the amount of the transaction to zero?
2. Is there a way to adjust the amount of settled and unsettled transaction (after an authCapture transaction type) without having to void the whole transaction and creating a brand new transaction again?
3. I'm kind of confused about API types. Which type of API is the one that's on this pager here? http://developer.authorize.net/api/reference/
I looked through a lot of posts but couldn't seem to find the answer.
Thank you for your time!
Solved! Go to Solution.
12-07-2015 07:34 PM
Hello @ittigorn
Before a transaction settles, your only option is to Void the entire transaction. After a transaction has settled, you can refund (credit) using the previous transaction ID.
These are the relevent API Methods:
http://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-credit-card
http://developer.authorize.net/api/reference/index.html#payment-transactions-void-a-transaction
http://developer.authorize.net/api/reference/index.html#payment-transactions-refund-a-transaction
Richard
12-08-2015 09:49 AM
You can do a Prior Authorization and Capture up to the total amount authorized, but not more.
Richard
12-08-2015 06:28 PM
Hello @ittigorn
Before a transaction settles, your only option is to Void the entire transaction. After a transaction has settled, you can refund (credit) using the previous transaction ID.
These are the relevent API Methods:
http://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-credit-card
http://developer.authorize.net/api/reference/index.html#payment-transactions-void-a-transaction
http://developer.authorize.net/api/reference/index.html#payment-transactions-refund-a-transaction
Richard
12-08-2015 09:49 AM
Thank you for your time, Richard. That clears things up a lot.
Also, is it possible to Authorize-only a transaction and then Capture it later with different amount? (both lower or higher amount)
Say... Authorize for $10 and at the end of the day, before the cut-off time, capture it for $8 or $15 instead?
If that's possible then it seems like a better solution if there's ever a need to change the amount before settlement.
12-08-2015 03:50 PM
You can do a Prior Authorization and Capture up to the total amount authorized, but not more.
Richard
12-08-2015 06:28 PM
Ok so I can capture at the lower amount than the authorized amount then. Thank you again, Richard.
I think I'll go with that solution. :)
12-08-2015 07:03 PM