File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ These payment options offer a seamless and convenient way for your customers to
1515### Mobile integration:
1616
1717- If you are redirecting to Topper through the user's browser, no extra configuration is necessary.
18- - When Topper is embed with a ` WebView ` , ensure setting ` is_android_app =1` or ` is_ios_app =1` as a query parameter in the URL.
18+ - When Topper is embed with a ` WebView ` , ensure setting ` is_android_webview =1` or ` is_ios_webview =1` as a query parameter in the URL.
1919- When Topper is opened using a ` Safari View Controller ` , ensure setting ` is_safari_view_controller=1 ` as a query parameter in the URL.
2020
2121** Example URLs:**
22- - Android: ` https://app.topperpay.com/?bt=<bootstrap token>&is_android_app =1 `
23- - iOS: ` https://app.topperpay.com/?bt=<bootstrap token>&is_ios_app =1 `
22+ - Android: ` https://app.topperpay.com/?bt=<bootstrap token>&is_android_webview =1 `
23+ - iOS: ` https://app.topperpay.com/?bt=<bootstrap token>&is_ios_webview =1 `
2424- Safari View Controller: ` https://app.topperpay.com/?bt=<bootstrap token>&is_safari_view_controller=1 `
2525
2626** Using the [ Web SDK] ( ../web-sdk.md ) :**
2727
28- - Android: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_android_app : true } }); `
29- - iOS: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_ios_app : true } }); `
28+ - Android: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_android_webview : true } }); `
29+ - iOS: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_ios_webview : true } }); `
3030- Safari View Controller: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_safari_view_controller: true } }); `
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ This creates a better experience for users because they can use their existing c
4141** Notes:**
4242
4343- If you are redirecting to Topper through the user's browser, no extra configuration is necessary.
44- - When Topper is embed with a ` WebView ` , ensure setting ` is_android_app =1` or ` is_ios_app =1` as a query parameter in the URL.
44+ - When Topper is embed with a ` WebView ` , ensure setting ` is_android_webview =1` or ` is_ios_webview =1` as a query parameter in the URL.
4545
4646** Example URLs:**
4747
48- - Android: ` https://app.topperpay.com/?bt=<bootstrap token>&is_android_app =1 `
49- - iOS: ` https://app.topperpay.com/?bt=<bootstrap token>&is_ios_app =1 `
48+ - Android: ` https://app.topperpay.com/?bt=<bootstrap token>&is_android_webview =1 `
49+ - iOS: ` https://app.topperpay.com/?bt=<bootstrap token>&is_ios_webview =1 `
5050
5151** Using the [ Web SDK] ( ./web-sdk.md ) :**
5252
53- - Android: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_android_app : true } }); `
54- - iOS: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_ios_app : true } }); `
53+ - Android: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_android_webview : true } }); `
54+ - iOS: ` topper.initialize({ bootstrapToken: <bootstrap token>, { is_ios_webview : true } }); `
You can’t perform that action at this time.
0 commit comments