We plan to support cross merchant refund/exchange. Since, clover doesn't support cross-merchant order lookup and refund/exchange we are trying different alternatives.


Suppose, we build an app to lookup orders from cross merchant. Is it possible to pre-populate the manual refund app from our custom app? We also want to make sure that the pre-populated value can't be manually over-ridden.

asked 2016-09-27 18:57:06 -0500

belleza gravatar image

2 answers

Sort by  

Try my following code...

 private void openRefundIntent(String amount) {
        Intent intent = new Intent(Intents.ACTION_MANUAL_REFUND);
        intent.putExtra(Intents.EXTRA_AMOUNT, Long.parseLong(amount));

answered 2016-12-23 12:02:05 -0500

Nirmal gravatar image

updated 2016-12-23 12:09:14 -0500

mark.mullan gravatar image

Confirmed. The EXTRA_AMOUNT must be a Long for this to work properly.

mark.mullan gravatar image
mark.mullan 2016-12-23 12:10:12 -0500

Yes . I think t must be..

Nirmal gravatar image
Nirmal 2016-12-23 12:13:50 -0500

you can populate it by passing EXTRA_AMOUNT but cannot make that unchangeable.

answered 2016-12-22 06:41:37 -0500

Nirmal gravatar image

Hi @Nirmal, have you confirmed this in code? Last I checked, this wasn't possible, but I can update my answer accordingly if shown otherwise. Thanks-

mark.mullan gravatar image
mark.mullan 2016-12-22 13:41:17 -0500

Yes I have confirmed it . You can populate it but you cannot make it unchangable.

Nirmal gravatar image
Nirmal 2016-12-23 05:32:01 -0500

Thanks @Nirmal. Would you mind sharing your code and I can convert it to the answer?

mark.mullan gravatar image
mark.mullan 2016-12-23 11:54:08 -0500