Symptoms
When attempting to perform an ad-hoc refund through the admin site, an error is thrown: "The referenced transaction does not meet the criteria for issuing a credit."
Cause
Only certain orders qualify for ad-hoc refunds.
Solution
Ensure that the transaction meets the following criteria:
- The transaction state is "CAPTURED"
- The transaction has settled on the gateway's end
- The transaction has not had a previous refund/ad-hoc refund performed on it