php


Can't make purchases on opencart website from android webview


I need help with my Android app for Speedway Groceries. The app was created using a WebView that displays the website within the app. However, It seems as if nobody can't make any purchases through the app. What happens on my device is that after I select the shopping cart and proceed to checkout, all of the checkout fields remain closed. On some devices it pops up with the warning message "Security headers is not vaild". Here is a screenshot
For the life of me I cannot figure out what is going on and nobody seems to have the same problem. Here is some code from the Main Activity.
public class MainActivity extends ActionBarActivity {
private WebView mWebView;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mWebView = (WebView) findViewById(R.id.activity_main_webview);
// Enable Javascript
WebSettings webSettings = mWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
mWebView.setWebChromeClient(new WebChromeClient());
webSettings.setAllowUniversalAccessFromFileURLs(true);
mWebView.loadUrl("http://www.speedwaygroceries.com/");
// Stop local links and redirects from opening in browser instead of WebView
mWebView.setWebViewClient(new MyAppWebViewClient());
}

Related Links

PHP - Using a global variable inside a class (Fatal Error) [closed]
jQuery PHP iFrame file upload returned data error
Add text before and after a word in PHP
antivirus check on PHP image upload necessary or not? [closed]
file_get_contents() returns unknown string [duplicate]
PHP OOP classes of store pattern
PHP MySQL - foreach loop with if to display subset list within key list
Yii: Multiple events best practices
MySQL: count rows versus save number of rows in a table
Rebuilding the script from cURL to multi cURL
How to convert PHP script to PDO properly?
php-how to echo 'get" with the formatting?
nginx unknown directive when running in my VPS
Continue CSS animation on page load?
PHP if with an array SQL
PHP Not Reading Session Data (Solved) [closed]

Categories

HOME
openshift
apache-nifi
adfs3.0
kendo-dropdown
concurrency
enums
add-on
windows-10
subdomain
dry
hdfs
twitter-fabric
tibco
gprs
static-analysis
rangy
android-externalstorage
responsivevoice
powermock
spring-jpa
bundler
sonata
jpa-2.0
pywinauto
adminlte
opam
gitkraken
workday
bsd
ava
raima
tf-idf
tortoisehg
pyspark-sql
opnet
caesar-cipher
quickcheck
cloveretl
buildforge
busboy
pdfnet
ftp-server
identify
cheat-engine
resampling
access-denied
ipp-protocol
ssi
supertest
brightscript
lightning-workbench
stateless-session-bean
pjax
e
nclam
mathml
android-4.2-jelly-bean
frame-grab
django-redis
gravatar
management-studio-express
bayesglm
linuxbrew
variable-length-array
openshift-cartridge
espresso
roxygen2
dynamics-ax-2012-r2
scala-macros
subfolder
tkx
sql-processor
configurable-product
rebar
xml-signature
adwords-apiv201402
miglayout
hotswap
gpu-programming
flipboard
discovery
libxml-js
form-for
ui-design
examine
jquery-dialog
uipangesturerecognizer
n-queens
mvcrecaptcha
django-apps
css-friendly
libxslt
ixmldomdocument
.net-services
ppc
bucket
eai
database-cloning
parentid

Resources

Encrypt Message