Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.6.0
-
Fix Version/s: 4.7.1
-
Component/s: None
-
Labels:None
Description
The API v5 refund is not function because and invalid reason is sent. Currently the refund parameters are:
$params = [
'refno' => $transaction_id,
'amount' => $amount,
'comment' => $notes,
'reason' => 'Merchant Request'
];
Instead for the reason we need to use one of the following (probably Other): Chargeback, Duplicate order, Incorrect product ordered, Not satisfied with the product, Product not received, Unwanted auto-renewal, Technical issue with the product, Other, No reason
If the demo doesn't allow us to test refunds, it will be a difficult trial-and-error attempt to resolve. We should contact someone that can test the updated functionality.
It would be useful to support both the legacy refunds (that currently work) and the API v5 refunds that require this change. Perhaps an API selector in gateway settings.