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

Wordpress Loop passing variables
PHP Imagick - setTextEncoding() function doesn't work
Upload PHP Code not uploading image
Why create own request object? [closed]
array declration methods in php [closed]
File extension filter when choosing file to upload
Secure file storage in a server
MySQL: Avoid selecting columns with the same userid
Can't view local images with apache
Bug in Doctrine or am I doing something wrong?
Passing value along with MySQL retrieved value as hidden value in JavaScript to AJAX function
Dynamic forms and PHP
PHP MYSQL Register page Validation
How LOCK works for writing logs into flat file?
PHP mysql how to relationship three tables showing outputs from different tables
Paypal - CURL response is 0 in a new server (connection time out), it's ok in the old server

Categories

HOME
python-2.7
visual-studio
firebase
mc
generics
facebook-messenger
kendo-dropdown
qc
ant
jersey-2.0
mathematical-optimization
google-sheets-query
swift2
mosquitto
turbojpeg
facebook-android-sdk
graphql-js
reportviewer
clickable-image
lda
graphdb
sonata
corona
twisted
jest
quartz.net
jstree
nurbs
background-color
points
marquee
fotorama
nest
orchardcms-1.8
twilio-php
strapi
windows-store
flowchart
grunt-contrib-watch
grails-spring-security
uipickerview
photoswipe
uiautomatorviewer
head.js
gestures
datediff
patternlab.io
test-data
hmmlearn
adobe-reader
visual-studio-monaco
p6spy
gcloud-node
qpixmap
static-methods
simian
ajax4jsf
odesk
nette
pythonxy
gitlab-omnibus
search-form
darwin
algebraixlib
phpredis
innerhtml
python-curses
tidyr
subview
rubber
windows-taskbar
pbkdf2
vlab
notifyjs
coalesce
ember-table
flv
multiple-dispatch
idispatch
zend-pdf
jzmq
background-repeat
asio
server-variables
vows
nosetests
kernel32
tessellation
activestate
browser-based
html-components
ppc
source-code-protection

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