如何在不使用WebView或浏览器的情况下实现Paypal? [英] How to implement paypal without using webview or browser in flutter?

查看:71
本文介绍了如何在不使用WebView或浏览器的情况下实现Paypal?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在不使用webview或浏览器的情况下在我的flutter应用程序中实现paypal.我已经尝试过"flutter_braintree"和"braintree_payment"颤振包.但是,这两个软件包都重定向到Web浏览器.因此,有什么方法可以像原生android方法一样在扑朔迷离中实现paypal.还是可以在本机android上实现它并用flutter构建它?如果答案是肯定的,那我将如何实现呢?

I am trying to implement paypal in my flutter app without using webview or browser. I have tried "flutter_braintree" and "braintree_payment" packages for flutter. But both of this packages redirect to the web browser. So is there any way to implement paypal in flutter like the native android way. Or can I implement it on native android and build it with flutter? If the answer yes, then how am I gonna achieve that?

推荐答案

贝宝(PayPal)登录名应始终为

The PayPal login should always be a secure browser view where you can see the address bar (Chrome Custom Tabs or Safari View Controller). This is by design, since anything else is not secure.

有一个新的,最近发布的本地Checkout SDK代替了Braintree SDK.您可以看一下,但我不知道是专门为扑打而绑定的.

In place of the Braintree SDK there is a new, recently released Native Checkout SDK you could have a look at, but I'm not aware of bindings for flutter specifically.

这篇关于如何在不使用WebView或浏览器的情况下实现Paypal?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆