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 Composer ignore prompt and Force Update
google recaptcha issues in yii framework
Order by and group by not working in php codeigniter?
The old message is shown only when I send new message or refresh the page in my chatting application
php ë is being displayed as u00eb
Making Custom Url in Yii 1.1.17
OData query $filter with multiple conditions
Using <pre> Tag in FPDF
I have upload application and database on server I face the error
Parse XSD Multiple Schema Locations Using PHP
Change the order of characters in a word
How to pass data to view returned by the route redirected to (Laravel)
Receive response messages to a particular number - Twilio
Route [user.profile] not defined. Laravel 5.3
Laravel belongsToMany not returning the related data
Encoding php form into JSON object

Categories

HOME
rust
orientdb
opencart
keyboard
typelite
long-integer
postgresql-9.4
braintree
slider
iverilog
docker-cloud
autocomplete
cypher
u-boot
wagtail
phpseclib
game-maker
cuba-platform
distributed-computing
xbox360
temperature
vertica
scala-ide
scheduled-tasks
azure-machine-learning
rxjs5
react-dnd
unrar
uri
running-object-table
ruby-daemons
django-import-export
mdns
actframework
plantuml
quickcheck
twilio-php
slideshow
word-cloud
google-prediction
viewmodel
ssi
renderman
embedded-v8
clrs
dblink
ltrace
elastic4s
livereload
jpda
nsrunloop
tsqlt
cdo.message
qtcpsocket
node-glob
vaadin4spring
mercurial-extension
wif4.5
teensy
deeplink
nette
android-studio-import
postal-code
ngcordova
embeddedwebserver
shoes
rfc5545
camus
python-c-extension
fat32
rubber
storing-data
quantify
lmax
.htpasswd
pre
roxy-fileman
particle-swarm
notifyjs
stty
google-code-prettify
postgres-xc
axacropdf
getopt-long
winsxs
fork-join
page-curl
airprint
servlet-container
printqueue
turbine
solandra
3-tier
reliability
principles
raw-data
source-code-protection
webclient.uploaddata

Resources

Encrypt Message