question

kirank avatar image
kirank asked David Marginian Deactivated edited

Refund Fails with code 500

we get a status code 500 when refunding a payment. how do we know why this payment can't be refunded? Payment ID: 10HVXD5YQ3CNR. We are trying to determine if its our app bug.

com.clover.sdk.v1.ServiceException: status code: 500 This payment can no longer be refunded back to the card. Refund customer via manual refund or in cash.10-04 09:46:57.677 12840-13199/? W/System.err: at com.clover.sdk.v1.ServiceConnector.throwOnFailure(ServiceConnector.java:320)
semi-integrationsRefund
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

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited
What environment? How are you performing the refund? Post a private message with your merchant id.
5 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.

kirank avatar image kirank commented ·

On clover Flex.Refund via PaymentConnector.refundPayment.

This might be our app bug. But we weren't sure as this message didn't indicate if it was duplicate (refund more than original Order). What I'm trying find is when / what cases is this error message returned?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ kirank commented ·

What environment? Sandbox? Region? US/Canada? How/when are you performing the refund. Is it a partial or full refund? I believe this error can occur if the transaction is still pending.

0 Likes 0 ·
kirank avatar image kirank David Marginian ♦♦ commented ·

Sandbox, US. Its a full refund.

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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