question

meerchant avatar image
meerchant asked meerchant answered

Is there an intent extra I can add to the com.clover.intent.action.START_REGISTER intent that will cause the register to close when the payment process has completed?

We trigger the register via a button on our app we would like the Clover unit to come back to our app after the payment process is complete and the cashier presses the 'Done' button. Pressing back from the main register screen works, but we'd rather not have to have the cashier remember to press back.

Intents
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

meerchant avatar image
meerchant answered

intent.addFlags(Intent.FLAGACTIVITYNO_HISTORY) seems to do the trick!

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