Integration
To integrate the Widget as a WebView on iOS and Android, load the following URL:Using React Native?To integrate the WebView in a React Native app, use the
@fintoc/fintoc-react-native library.How it works
To include the Fintoc WebView in your mobile application, pass the following query parameters to configure it, depending on the product you want to use:Text
You can also include nested parameters in your query by using the following query string format:
Usage example
The following snippets show the WebView set up on Android and iOS:webView method that handles link clicks inside the WebView. In the example, links open in Safari, but you can customize this behavior. For example, links can open inside the same app. This matters because customers using Payment Initiation can click a link to download the transaction voucher after they finish the payment flow. Allow these links to open so the customer can download the voucher.
WebView redirections
Once the WebView is integrated, you can interact with its events using redirections.
To use these methods on Android and iOS, use the following snippets:
Test the integration
Load the WebView with apk_test_ public key to run against the sandbox environment. Complete the flow with Fintocโs test credentials, then confirm your app receives the fintocwidget://succeeded redirect.