question

Dan avatar image
Dan asked

Bug - splitting by items on orders with refunds breaks partial payments for 3rd party tenders

Hi folks I thought you might like to know there's a bug in the Register app with 3rd party payments.

Steps:
Place an order for 2 items, and split the payment by items. Pay for one item with any tender, and then refund the payment. Pay for the first one again with a custom tender, and make sure the custom tender sets an amount less than the value of the item.

Exhibited behavior:
The item is fully paid in the register app and ignores the `Intents.EXTRA_AMOUNT` set by the 3rd party tender. This bug does not manifest itself if there is no refund on the order.

Desired behavior:
Matching what happens in all other cases, when we set a partial payment it respects the value of `Intents.EXTRA_AMOUNT`

There are some other crazy bugs to do with partial payments while splitting by items that I imagine are not a priority but this one seems important enough to correct.

OrdersPaymentsCustom Tenders
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