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

Avoid double result from PHP foreach [closed]
Send PDF file to printer
I cant create metaboxes for custom post in wordpress..what's wrong in this code?
Can't pick up data from database
Paypal Checkout - What do I use to checkout and save to db, express/ipn? php
Determination of file extension not working for large files
Symfony 2.3: Validate Entity without form
laravel error when uploading project to production
jQuery Load List Issue
Using ip address in ftp_connect
populating value of textbox by adding dynamic texboxes
Remove filepaths from an assosiative array in php
How to install PHP SSH2 extension in a non-standard folder on linux without root access
MySQL simple query
How to add a class alias in Laravel
Select all rows from table in Yii

Categories

HOME
knockout.js
mpdf
yahoo-weather-api
swi-prolog
hdfs
mirc
flurry
azure-data-lake
position
u-boot
sympy
cocotb
mutation-testing
heuristics
nsstring
vimeo
jquery-select2-4
webstore
pywinauto
google-tasks-api
google-cloud-logging
jitsi
anova
pst
generator
qa
chronicle-queue
pyopencl
ratio
webviewclient
tsung
intune
objectmapper
rspec-rails
android-collapsingtoolbar
busboy
pdfnet
ms-solver-foundation
android-alarms
microkernel
hypothesis-test
opal-framework
raytracing
swift2.3
cloudwatch
ilrepack
solr-query-syntax
gtk#
android-mediarecorder
nivo-slider
test-data
dtd
sesame
gmaps.js
front-camera
cognos-tm1
fitbit
perl-data-structures
s-function
always-on-top
ftp-client
callouts
qtcpsocket
oci
maven-release-plugin
noclassdeffounderror
polymerfire
as3-api
seadragon
json-spirit
html.actionlink
cfwheels
hmisc
postal-code
explain
sablecc
html-escape-characters
fat32
jcheckbox
string.format
dnsjava
datagridcomboboxcolumn
code-complexity
notifyjs
indesign-server
flv
oscilloscope
background-thread
session-0-isolation
handshake
linkbutton
liveconnect
regression-testing
external-sorting
main-method
accumulator
server-load

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