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

How to create a new array in PHP from existing array values within a foreach loop
Do you really need MySQL to host PHP files? [closed]
ErrorException in 939c885abda79cfdae4288b828415df7 line 38: Trying to get property of non-object
Magento cron schedule created_at time is always 2 hours behind from server time
Dynamic links with PHP
Load entity configuration from database in Symonfy
Sum of column containing both decimal numbers and integers
snapdeal send curl request to header in PHP
WAMP: Forbidden access to phpmyadmin through IP
display image but shows an array
Laravel-Core: Why does Laravel store Aliases multiple times?
How to show the image in push notification (Gcm) php
How to Insert Record in multiple rows PHP MYSQL
PHP internals - getting a boolean argument
md5 login won't work
Get URL from background-image property by regular expression

Categories

HOME
openshift
facebook-messenger
livecode
iverilog
mongoid
mathematical-optimization
amp
save
u-boot
swarm
tiff
createjs
xbap
async-await
cocos2d-android
jitsi
maven-surefire-plugin
pymongo
backendless
web-push
react-bootstrap-table
tsung
dotcms
premake
commonsware-cwac
xcrun
nest
landscape
redgate
cloudera-quickstart-vm
strapi
selenide
stat
python-jira
plane
hdiv
spooler
virtual-memory
git-tfs
cloudwatch
rm
sony-future-lab-n
line-intersection
exc-bad-access
glassfish-4.1
glimpse
rcharts
predicates
dynamics-crm-4
hmmlearn
bigdecimal
nclam
ajaxmin
odp.net-managed
apple-configurator
django-redis
webgrind
servicestack-bsd
godeps
ambiguity
cfwheels
gitlab-omnibus
jnlp
deque
prism-4
kognitio-wx2
microsoft-expression-web
rebar
xhprof
prism.js
refit
zend-search-lucene
property-injection
assetic
proxy-server
strdup
ctp
coalesce
chefspec
office-app
clrprofiler
wndproc
thejit
server-name
django-apps
sql-parametrized-query
kohana-auth
multiple-users
chronic

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile