Hallo!
We are processing recurring transactions in our application using Wallee SDK libraries in Java.
Is it possible to get the end state (failed/fulfilled) of a recurring transaction immediately so that we can be sure that the transaction is failed or successfully processed?
Because it's important for the following step in our application.
Here how we get the end state at the moment. If everything worked - we get state 'FULFILL'.
We create a Transaction Object using a tokenId and then create a transaction with this object
apiClient.getTransactionService().create(spaceId, transactionPayload);
Then we process the transaction without user interaction
apiClient.getTransactionService().processWithoutUserInteraction(spaceId, transaction.getId());
And then complite
apiClient.getTransactionCompletionService().completeOnline(spaceId, transaction.getId());
But when we tested some failures - we got state 'PROCESSING', in which transactions could 'hang' over 5 minutes and be failed or fulfilled. We would like to get state failed or fulfilled immediately.