토스페이먼츠 결제 현대카드 v3 오류

https://techchat.tosspayments.com/m/1308975211676172389

https://github.com/youjun-lee/flutter_webview_sample_app
도 rawValue?
이 3.



shouldOverrideUrlLoading: (controller, navigationAction) async {
var uri = navigationAction.request.url!;
if (uri.scheme == 'http' || uri.scheme == 'https') { // 웹 URL
return NavigationActionPolicy.ALLOW;
} else { // 는 tossPaymentsWebvew
if(Platform.isAndroid) {
// 서 Err_unknown_url_scheme
if (!navigationAction.isForMainFrame) {
await controller.stopLoading();
}

}
tossPaymentsWebview(uri.rawValue);
return NavigationActionPolicy.CANCEL;
}
},

tossPaymentsWebview(url) {
final appScheme = ConvertUrl(url); // Intent URL킴 URL
if (appScheme.isAppLink()) {
// 킴 URL
appScheme.launchApp(mode: LaunchMode.externalApplication); //
return NavigationActionPolicy.CANCEL;
}
}

?
1.
2.
3. PIN

V3 Mobile Plus ". (: 4202)" .

https://docs.tosspayments.com/guides/v2/webview 로 AndroidManifest.xml .

inAppwebView: ^6.0.0
tosspayment_widget_sdk_flutter: ^2.0.7

1. webView-shouldOverrideUrlLoading 서 url = intent://....end;...
Flutter 신용카드 결제시,  V3 Mobile 오류 - Toss payments 개발자 커뮤니티
GitHub
flutter webview sample. Contribute to youjun-lee/flutter_webview_sample_app development by creating an account on GitHub.
GitHub - youjun-lee/flutter_webview_sample_app: flutter webview sample
Was this page helpful?