Custom Transaction ID on Payment Intent Call

Hi, i was building a POS app based on this tutorial:

https://poynt.github.io/developer-docs/guides/posapp/#taking-payments

and this sample:

My doubt is this: if the application fails to intercept the response of the Payment Fragment in the onActivityResult() method, e.g. the application crashes processing the response, is it possible to recover the result of this particular payment later?

I have tried to set a custom ID on the Payment Object before the launch of the Payment Intent:

and search (by my custom ID) the transaction in the TransactionListActivity

https://github.com/poynt/PoyntSamples/blob/master/codesamples/src/main/java/co/poynt/samples/codesamples/TransactionListActivity.java

but I have not found anything…

Is there a solution?

Many thanks

The references will be part of the transaction object. You could search for the reference in the content provider and then fetch the entire transaction using the transactionService as shown here