question

madalyn avatar image
madalyn asked

Receive Discount / LineItem Updated Intent

I need to know when a lineItem on the Order/Check is modified to have a discount added.

There's LINE_ITEM_ADDED, but the item can be modified to have a discount after it's been added.

There is ACTION_ITEM_SELECT, however that doesn't give me feedback if the item is changed, only when it is first selected.

There is ACTION_MODIFY_ORDER, though I don't want to modify the item, I just want to know if the cashier has modified it. It's unclear to me what in Clover would prompt this intent to be broadcast to me.

How do I know when a LineItem is modified before Payment happens?

IntentsLineItemsDiscounts
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