Skip to content

@checkout-kit/webview-bridge / WebViewBridgeOptions

Interface: WebViewBridgeOptions ​

Properties ​

PropertyModifierTypeDescription
onCommand?readonly(command) => void-
onError?readonly(error) => voidBridge delivery failures do not interrupt the payment engine.
reportHeight?readonlybooleanReports the document height so the host can size the WebView.
sessionId?readonlystring-
target?readonlyBridgeTarget | nullDefaults to window.ReactNativeWebView. Injectable for tests.

Apache-2.0 · Headless engine, provider adapters and runnable examples.