question

mohit-kanada avatar image
mohit-kanada asked Emmanuel MacCaull commented

Is there any way to get event when any line item is updated / modifier is added to line item using clover android SDK

OrdersClover Android SDKLineItemsBroadcasts
2 comments
10 |2000

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

mohit-kanada avatar image mohit-kanada commented ·
0 Likes 0 ·
zgreathouse avatar image zgreathouse mohit-kanada commented ·
0 Likes 0 ·

1 Answer

zgreathouse avatar image
zgreathouse Deactivated answered Emmanuel MacCaull commented
4 comments
10 |2000

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

mohit-kanada avatar image mohit-kanada commented ·
0 Likes 0 ·
zgreathouse avatar image zgreathouse mohit-kanada commented ·
0 Likes 0 ·
ramya avatar image ramya mohit-kanada commented ·
0 Likes 0 ·
Emmanuel MacCaull avatar image Emmanuel MacCaull mohit-kanada commented ·

Even using OrderV3Connector.OnOrderUpdateListener2 there is no "line item modifier deleted" event. However, the onOrderUpdated event is sent when modifiers are deleted. If you keep a previous version of the Order in memory, you can compare the previous and current modifiers to determine if any have been deleted.

0 Likes 0 ·

Welcome to the
Clover Developer Community