Getting below two type of random messages while doing refund immediately after a sale:
- 1.Refunds after more than 25 minutes for this payment are not allowed; refund customer via manual transaction or in cash.
- 2.Error connecting to payment gateway. Please try again later.
Below is the request and response we are having for the 1 st message:
REFUND REQUEST : {"orderId":"TG4HMJFF46876","paymentId":"RZ0460H22ZQS4","amount":1500,"fullRefund":true}
RESPONSE :: success : false, result : FAIL, reason : FAIL, Message : Refunds after more than 25 minutes for this payment are not allowed; refund customer via manual transaction or in cash.
Below is the request and response we are having for the 2nd message:
REFUND REQUEST : {"orderId":"XDPGBMKSQ8BCM","paymentId":"ZSBWTBMWXWHB6","amount":849,"fullRefund":true}
RESPONSE :: success : false, result : FAIL, reason : FAIL, Message : Error connecting to payment gateway. Please try again later.
Could you please let us know the root cause/solution for this?
Thanks,
Devendra