Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Payment process in WebView(Android)

I have a web address for the payment gateway (where I need to enter credit card number, etc.). Can I open this page using WebView and make a payment directly into my application? Without opening separate web client like chrome? Does google has any restrictions or security rule on the publication of application, where the user enter his credit/debit card information directly into WebView?

like image 235
manao Avatar asked Jul 03 '15 12:07

manao


People also ask

What is Android system WebView used for?

Android System WebView lets applications display browser windows in an app instead of transporting the user to another browser. Android developers use WebView when they want to display webpages in a Google app or other application.

What is WebView in android with example?

The WebView class is an extension of Android's View class that allows you to display web pages as a part of your activity layout. It does not include any features of a fully developed web browser, such as navigation controls or an address bar. All that WebView does, by default, is show a web page.


1 Answers

You can open your payment page in a WebView in Android without any restriction. I'm using this method in few apps, for few years now, and I didn't had any problem so far.

But on iOS, there are some restrictions. You can't sell digital goods from a WebView that can be used in the app.

like image 154
radu_paun Avatar answered Oct 05 '22 01:10

radu_paun