embed purchase funnel from a website in Ionic app

I am improving my ionic app, so the users can now buy the products.

But those are the same product that are also present on the corresponding website, and I would like to embed the "purchase funnel" or "payment gateway" from this website into my ionic app. Mostly because the funnel is complicated because the products are "custom" with a lot of attributes.

Is that possible with the inappbrowser ionic plugin? Will the payment be safe enough (https)? Will a third-party payment be possible, for example via Paypal?

Thanks


InAppBrowser window behaves like a standard web browser, it will use the native browser's security features and can't access Cordova APIs . So it mainly depends on whether the the website can be trusted on any browser. Even otherwise native functionalities can't be exploited.

Other than that , payment gateways should work as it works on a website . In case you want some scripts to be injected into the website , you can check out executeScript in inAppBrowser .

edit

Something which can be noted is that the version of WebKit you have available depends on your device and isn't necessarily the same as the default browser.


You can check this github repository. I think it will help you for sure: https://github.com/IonicU/payuhybridappintegration
Also, there are very good examples given by the PayPal Developers: https://devblog.paypal.com/paypal-cordova-plugin-released/

链接地址: http://www.djcxy.com/p/37608.html

上一篇: 分别在并行进程中更改不同的python对象

下一篇: 在离子应用中嵌入来自网站的购买渠道