question

devendra avatar image
devendra asked justina Deactivated commented

Auto Refund On Debit Card

Hi Team,

For verified return we are not swiping the debit card, just sending the original payment details. In that case auto refund is happening successfully on Debit cards also. is it expected behavior? As per our experience with different vendors Auto refund on Debit cards is not allowed.

Thanks,
Devendra
Clover MiniRefundsecure network pay display
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

justina avatar image
justina Deactivated answered justina Deactivated commented
@Devendra

This is expected behavior.

There window of time that a transaction remains voidable. A sale transaction's void window lasts for 25-minutes after a payment is processed. An auth transaction will remain voidable until it is closed out. Regardless of which API is used (refundPayment/voidPayment), what actually happens to a transaction depends on whether or not the method was invoked within a transaction's void window:
  • refundPayment calls are actually voids at the payment gateway level if used within the void window
  • voidPayment calls are are actually refunds at the payment gateway level if used outside the void window
This is why you are able to "refund" the debit transaction. If refundPayment is called on a debit transaction within its void window, the Clover server will communicate to the payment gateway that the debit transaction should be voided, which is allowed. voidPayment calls outside the void window will fail because it will coerce into a call to refund the debit transaction, which is not allowed. This second coercion scenario is something that should be watched out for, as the fail will occur silently: voidPayment calls currently always return success at the sdk level.

Something else to note: This coercion to fit the void window will not affect the payment record (what shows up in Clover Transactions). These records will still correspond to whichever API called.

-- Justin
2 comments
10 |2000

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

Hi Justin,

Following is our understanding based on the response we got from you for Auto Refund on debit card.

1.If we do refund(we are sending original payment details in refund) outside 25 min timeframe for debit card, then refund will fail.

2.It would be successful, if we do debit card refund within 25 mins.

We have done refund outside 25 min timeframe but we got the succes response instead of getting fail response which does not justify the 1st point.

Could you please clarify wheather refund is allowed on Debit cards?

Thanks,

Devendra

0 Likes 0 ·

Hi @Devendra,

It is likely that the you were able to refund this particular transaction because it was processed as credit rather than debit (even though a test debit card was used). You can verify this by taking a look inside the extra field of the Payment object that is as part of a transaction response. This is also indicated by the "Rtind" (Routing indicator) line of the receipt that is printed.

-- Justin

0 Likes 0 ·

Welcome to the
Clover Developer Community