question

duyen avatar image
duyen asked duyen answered

Why refund can not response?

I use semi integration ios remote pay.

I call refund payment after closeout.

let refundRequest = RefundPaymentRequest(orderId: orderId, paymentId: paymentId, fullRefund: true)

self.cloverConnector?.refundPayment(refundRequest)


orderId: "8N1XH21J4PC2J"

paymentId: "ZTZY38TFM3ADY"


But onRefundPaymentResponse was not entered. (other functions is work well: payment, void, closeout), I don't know why refund is not get reponse, is not hit to the response function after I call refund request.

public override func onRefundPaymentResponse(_ refundPaymentResponse: RefundPaymentResponse)


Please let me know what's wrong?

Clover Minisemi-integrations
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered

Check your console for errors, try adding a "new" before RefundPaymentRequest(.....).

10 |2000

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

duyen avatar image
duyen answered

I resolved it, it's my mistake.

10 |2000

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

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