Web SDK Setup
Integrations guide
This page sets out step-by-step instructions for setting up the Web SDK.
WebView manual
To integrate the WebSDK via WebView, get a URL to redirect the client to the embedded WebView browser:
Success page
To specify your Success page URL for the SDK to redirect the client to if they successfully complete the workflow, add a redirect
parameter to the URL:
Example Success page URL:
https://sandbox.v.fourthline.com/v1/?code=A1B2C3D4&redirect=https://yoursuccesspage.com
Failure page
To specify your Failure page URL for the SDK to redirect the client to if they don't successfully complete the workflow, add a redirectFailure
parameter to the URL:
Example Failure page URL:
https://sandbox.v.fourthline.com/v1/?code=A1B2C3D4&redirectFailure=https://yourfailurepage.com
Example with Success and Failure page URLs:
https://sandbox.v.fourthline.com/v1/?code=A1B2C3D4&redirect=https://yoursuccesspage.com&redirectFailure=https://yourfailurepage.com
iOS video playback quality
To ensure video playback quality on iOS and maintain a high conversion rate for document and selfie videos, when you launch the Web SDK in WebView, in your iOS app, set the following parameter in the app to true
:
Parameter | Description |
---|---|
allowsInlineMediaPlayback | A Boolean value that indicates whether HTML5 videos play inline or use the native full-screen controller. Set to true . |
To integrate your solutions, see the Integration Guides.
Updated about 1 month ago