question

Jai avatar image
Jai asked sam Deactivated edited

Get Modifier added notification using intent

We get line item added notification from clover as
com.clover.intent.action.LINE_ITEM_ADDED
Is there any notification that gives intent of modifiers applied to line item??
OrdersClover StationIntentsModifiers
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.

Jai avatar image Jai commented ·
@Mark Mullan

can you help us in this issue?

0 Likes 0 ·

1 Answer

sam avatar image
sam Deactivated answered sam Deactivated edited
Since there is no broadcast that indicates a modifier added or lineItem updated, the solution I would suggest is to use the OrderConnect.OnOrderUpdateListener(), which has listener onLineItemModificationsAdded. In order for this to work, you will need to start a long running service with the OnOrderUpdateListener.
10 |2000

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