question

devendra avatar image
devendra asked devendra answered

Refund failure with the message as Refunds after more than 25 minutes for this payment are not allowed or Error connecting to payment gateway.

Hi Team,

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.
OR
  • 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
Clover MiniRefund
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

devendra avatar image
devendra answered
Hi Greg,
Today again we started getting "Transaction failed: Error connecting to payment gateway. Please try again later". Can you please tell why we are getting this issue? is Clover test server down?
Thanks.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community