Linking on Android
When Launching Capture Flow , a transaction id can be provided. If a transaction id is provided, the transaction id will be attached as metadata to any receipt object that is created as a result of the capture flow.
The following snippet demonstrates how the transaction ID is provided when launching Capture Flow. It would be inserted in place of the code in step 3 of the example in the above page.
val myTransaction: MyTransactionModel // Your transaction model
captureFlow.launchCaptureFlow(
captureFlowListener,
externalAccountTransactionId = myTransaction.id
)
final MyTransactionModel myTransaction; // Your transaction model
captureFlow.launchCaptureFlow(
captureFlowListener,
CaptureFlowCoordinator.Companion.getDEFAULT_CONFIG()
externalAccountTransactionId = myTransaction.getId()
);