question

devendra avatar image
devendra asked justina Deactivated answered

How to navigate to display order screen after timeout event in POS Xstore to Clover mini device integration flow?

Hi Team,

This is regarding Xstore to Clover mini device integration flow.When we get the timeout event on clover mini device, then after pressing OK button it is going directly navigating back to Welcome screen but here we need to bring back to Display order screen as per our requirement.

Also when we press cancel button present on swipe screen it is going back to welcome screen but we need to go to display order screen.

How can we achieve these from our side and if its not doable from our side then how can we do this?

Thanks and Regards,
Devendra
Clover Minisecure network pay display
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

justina avatar image
justina Deactivated answered
Hi @Devendra,

Let's use a cloverConnector.sale() as an example. Assuming that you are using SaleRequest#setDisableRestartTransactionOnFail, transactions that end via timeout or manually hitting cancel will send a SaleResponse to the onSaleResponse listener with a "cancel" ResultCode. You write a check -SaleResponse#getResult() == ResultCode.CANCEL - within the callback to call CloverConnector#showDisplayOrder.

-- Justin
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