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

MySQL grant privileges access denial
php curl code is not working on specific sites although scripts do
MSSQL get INSERTED ID and return it with string PHP
call the exec() php function in the web browser
Merging duplicate arrays with count
PHP code not showing any error message [duplicate]
PHP/MongoDB - Pulling records from multiple documents, cursor dies after action on first record
Save multiple records created from a range of dates in CakePHP 2.x
updating all form input data in batch in codeigniter
Create a checkbox for tags in Wordpress
can't send email in laravel using gmail smtp
Reference two SQL databases with a Join via PHP
PHP results as a link?
multiple route file istead of one main route file in laravel 5
Auto detect environment in laravel
Showing MySQLi results from 3 months ago until today

Categories

HOME
opencart
functional-programming
windows-8.1
qc
couchdb
scroll
foaf
kivy
twitter-fabric
nsis
greasemonkey
ontology
dji-sdk
jpa-criteria
selection
bootstrap-switch
grocery-crud
powermock
outlook-restapi
jpa-2.0
temperature
android-5.1.1-lollipop
tomcat8
clr
android-custom-view
error-logging
device
chronicle-queue
pdf.js
spreadsheetgear
hevc
tf-idf
dotcms
infopath2010
autoencoder
grails-2.5
ftp-server
unification
python-sounddevice
python-jira
word-cloud
fiware-wirecloud
elasticsearch-aggregation
morphline
apache-toree
oracle-bmcs
reverse-dns
moinmoin
intellij-lombok-plugin
gestures
iptv
sequence-diagram
polymaps
adobe-reader
researchkit
streamwriter
nsrunloop
msbuild-4.0
qtcpsocket
fragmentstatepageradapter
maven-release-plugin
meld
unsigned
jeasyui
persistent-object-store
gridbaglayout
i2b2
ioexception
webgrind
python-cffi
lowercase
fanotify
auto-generate
domino-designer-eclipse
kefir.js
dbmigrate
wicked-gem
deque
subview
findersync
sql-processor
directorysearcher
dos2unix
inputbox
category-theory
communicate
two.js
zend-search-lucene
webaii
pre
autonumber
jmenubar
notifyjs
node.js-stream
office-app
email-verification
gitx
instance-variables
wndproc
viewpagerindicator
msinfo32
mkannotation
wcf-callbacks
n-queens
gwt-celltable
multidrop-bus
fbml
boost-foreach
azure-acs
fragment-identifier
django-pagination
channelfactory
android-2.1-eclair
yahoo-maps
projectpier
fxruby
.net-client-profile
rendering-engine

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App