I'm working with a semi-integration Android app. I have set 3 minutes of delay in which customer should finish their payment. After this delay, a popup message "Timeout : Restart the transaction!" shows up on our POS system, but the customer still can proceed their transaction until the end.
Are there any way to interrupt the "transaction session" triggered by the code below in such case?
SaleRequest saleRequest = new SaleRequest(); saleRequest.setExternalId(ExternalIdUtils.generateNewID()); saleRequest.setAmount(amount); saleRequest.setCardEntryMethods(CARD_ENTRY_METHOD_MANUAL | CARD_ENTRY_METHOD_MAG_STRIPE | CARD_ENTRY_METHOD_NFC_CONTACTLESS | CARD_ENTRY_METHOD_ICC_CONTACT); paymentConnector.sale(saleRequest);
I mean, I would like to stop this "session" after 3 minutes passed:
Any advice would be appreciated.
Thank you in advance.