question

dragon2934 avatar image
dragon2934 asked

Need Help for Item Refund and Payment Refund

Hi there:


We are doing a connector base on this document https://docs.clover.com/docs/creating-custom-tender-apps,

We are sure we have passing the data like this


Intent data = new Intent();

data.putExtra(Intents.EXTRA_ORDER_ID, orderId);

data.putExtra(Intents.EXTRA_PAYMENT_ID, paymentId);

data.putExtra(Intents.EXTRA_LINE_ITEM_IDS, lineItemIds);

data.putExtra(Intents.EXTRA_AMOUNT, amount);

data.putExtra(Intents.EXTRA_CLIENT_ID, "Your_external_payment_ID");

setResult(RESULT_OK, data);

but right now got a refund problem.

The transaction is 0.10 (item amount) + 0.02 (Tips) = 0.12

After I do the Item refund (0.10), and try to do the Payment Refund for tips (0.02), the Refund UI shows the wrong amount, we can't do the refund. like this

wechatimg157.jpeg


but After Rebooting the POS Machine , Or wait after 4 hours.

the UI shows the correct amount, and we can do the refund successfully.


wechatimg158.jpeg


Any thing wrong with

Can anyone please give me a hand?


Thanks



Clover Flex
wechatimg157.jpeg (203.3 KiB)
wechatimg158.jpeg (215.0 KiB)
10 |2000

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

0 Answers

·

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