question

mark avatar image
mark asked mark commented

Cash Drawer Open events

Is it possible to receive an event using WebHooks whenever a cash drawer has been opened ?

10 |2000

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

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered mark commented

No, that's not possible. Cash events are device only.

If you have an app running on the device, you could use a ContentObserver over the URI defined by CashContract.CashEvent.CONTENT_URI to listen for the cash event being recorded. This will only work however if the merchant has "cash management enabled" and has the cash log app installed.

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.

mark avatar image mark commented ·

OK, so how would you recommend looking for no-sale events from a station if the customer has not installed the cash log app ?

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

I don't know what is a "no sale event". If the app isn't installed, you cannot detect cash events. That's the idea. If the merchant wants to track cash events they install the app. If your app requires this, it can do a check if that app is installed and ask the merchant to install it and link to the Clover app market.

0 Likes 0 ·

Welcome to the
Clover Developer Community