question

Danielle Cox avatar image
Danielle Cox asked Danielle Cox commented

Line Item refund/exchange

I am working on the stored value portion of our platform. The business case I am concerned with is:

Merchant adds card to order -> I handle this correctly Merchant collects full payment -> I understand how to handle this correctly

At this point the card could by used

Merchant wants to process a REFUND or EXCHANGE on the card. I see how I can catch this and handle the processing, but is there a way to give negative feedback if the REFUND/EXCHANGE should not be processed? For example, the card has been used and thus I can not undo the activation - therefore the merchant should not be able to refund the card.

Thanks - I have appreciated all the answers to your questions so far!

Danielle

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

Jeffrey Blattman avatar image
Jeffrey Blattman answered Danielle Cox commented

Are you asking how you activity that handles ACTION_REFUND can reject the refund? In that case you set the result as RESULT_CANCELED.

EDIT: okay, I get it. You are asking if there's a way to hook in logic to approve for deny a particular line item (tender type isn't relevant) from being refunded. Unfortunately the answer is no. I think the best you can do is to warn merchants when they sell a card that it's not refundable, or refund at their (the merchant's) own risk.

Another thing you could do is provide a "check status" activity the merchant can use prior to refunding a card.

1 comment
10 |2000

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

Danielle Cox avatar image Danielle Cox commented ·

ACTION_REFUND is only for the tender, right? I am talking about refunding a newly issues card which was paid for with cash for example. I see how I can listen for the refund broadcast, but that is after the refund of the item has completed, right?

0 Likes 0 ·

Welcome to the
Clover Developer Community