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 -> simplexml_load_file skip to next when error
How to correct and change a static method to a non-static method for Joomla module
How to individual print every word of a sentence in PHP? [closed]
JetBrains PhpStorm Not Resolving Server Variable?
couldn't fetch session value to another page
Edit YAML array with php Symfony2.8
preg_replace and hidden chars or hidden encoding
BelongsToMany with BelongsToMany relation [closed]
What is equivalent of strtotime in SQL?
Expecting statement after if
Extract array from inside array
How to group from MySQLi using PHP
How to file_get_contents from HTTPS with basic authentication?
WordPress custom taxonomy query
Server Concurrency with High CPU Load
Localhost and 127.0.0.1 show different content in web browser

Categories

HOME
office365
orientdb
magento2
typelite
yahoo-weather-api
paypal-ipn
softlayer
activex
command-prompt
loopbackjs
magento-2.0
mathematical-optimization
moodle-api
iptables
azure-data-lake
tweepy
log4j2
nexus3
fireloop
smooks
angular4
vmware-workstation
rest-assured
l20n
asciimath
maven-plugin
xsl-fo
opam
node-webkit
pst
kaggle
nurbs
ruby-daemons
iwebbrowser2
sendmessage
locks
infopath2010
argv
commonsware-cwac
adminer
buildforge
pdfnet
android-alarms
variable-variables
elastica
word-cloud
elasticsearch-aggregation
web-inspector
moinmoin
asihttprequest
daz3d
swift2.3
sony-future-lab-n
renderman
entropy
freshdesk
popen
network-protocols
nrf51
ogg
wininet
ftp-client
callouts
jenkins-workflow
oci
rails-engines
apple-configurator
gravatar
trust
vim-plugin
enunciate
decidable
nastran
highest
mixins
canopy
360-degrees
fantom
replicaset
algebraixlib
karma-coverage
ampersand
gflags
nsmutabledata
mutators
box2dweb
refit
preorder
colon
boinc
san
ember-table
acceptance-testing
statechart
session-0-isolation
ckeditor.net
dropshadow
wiktionary
n-queens
yuidoc
django-apps
will-paginate
boost-foreach
nosetests
kohana-auth
ccl
uninstaller
urchin
downcasting
database-cloning
stretchblt

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App