i have one LineItem in order and i want to clear order now. but i did not find clear order event, clover saves that order and treat that order as a save. two events there
i) onOrderUpdated method of OnOrderUpdateListener2 interface
ii) Broadcast Receiver event ACTION_ORDER_SAVED
called in both cases whether we clear order or save order.
in both case if we get order Object there by order ID received in these events. order object returns as the last order info which we cleared.
so we cannot distinguish that order is saved or cleared.
how can we find order is cleared in clover ??
any help would be appreciated.