We are creating a clover app to run on clover device. We have side loaded the payment and sales apk. Can you please tell us how we can call the tip suggestion page in the payment process directly?
We are creating a clover app to run on clover device. We have side loaded the payment and sales apk. Can you please tell us how we can call the tip suggestion page in the payment process directly?
You sideloaded the Clover payment and sales APKs? By that do you mean com.clover.payment.executor.secure
and com.clover.terminal.sale
? Those APKs should be preinstalled on your Clover device, you shouldn't have to install them yourself.
Regardless to launch the customer facing tip suggestions activity you use: Intents.ACTION_CUSTOMER_ADD_TIP
with String
EXTRA_ORDER_ID
and long
EXTRA_AMOUNT
.
Here is a commandline example:
adb shell am start -a clover.intent.action.CUSTOMER_ADD_TIP -e clover.intent.extra.ORDER_ID YBRQQFY8D3CXP --el clover.intent.extra.AMOUNT 200
No one has followed this question yet.