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

Table cells split across pages wkhtml2pdf
VB .Net to PHP - Get user windows login on Intranet
how to insert id from dropdown menu in database
ColorBox Iframe Video Not Working on mobile
wp_login_form() redirecting to wp-login.php eventhough login crediantials are correct
PHP parse_url last fragment [duplicate]
String contains x amount of numbers and text
Changing button position in WordPress/WooCommerce shop
How to populate a DropDown in Laravel 5
Get auth parameters in Laravel login
how change postgresql config via ssh
PHP echo showing on top of page instead of in being used in buttons
PHP MyAdmin Inserting data twice
Trouble Inserting Value to Mysql database:
Laravel 5 - PHP Warning: ZipArchive::extractTo(): Invalid or unitialized Zip object
Ajax post to codeigniter controller giving 404, but making it to the controller?

Categories

HOME
jboss
openshift
entity-framework
list
verification
eclipse-plugin
dotnetnuke
applescript
compilation
tcsh
stacktrace.js
graphql-js
eddystone
mailmerge
live-streaming
outlook-restapi
django-rq
mahout-recommender
pinterest
susy-sass
home
libgit2
bosun
chronicle-queue
ratio
fstar
gravity-forms-plugin
react-bootstrap-table
social-networking
monitor
netbios
commonsware-cwac
wampsharp
lxml
advanced-filter
apptentive
amazon-kms
jslint
viewcontroller
fluid-mac-app-engine
spooler
nuclio
hibernate-ogm
cordova-ios
simple-schema
nivo-slider
stateless-session-bean
connect-direct
lvalue
ltrace
cocoa-bindings
livecycle
tsqlt
jtag
qpixmap
jeasyui
jeditable
currency-exchange-rates
ioexception
auto-generate
extend
enaml
featuretoggle
blockquote
compositetype
angular-amd
ampersand
scala-macros
gflags
nhibernate-criteria
thoughtworks-go
xhprof
mfmessagecomposeview
air-native-extension
preorder
radius-protocol
typesafe-stack
lsa
saga
pacman
delphi-xe4
system-requirements
onconfigurationchanged
spark-view-engine
nsmutablestring
prefuse
wcf-callbacks
acpi
kext
directshow.net
libxslt
self-tracking-entities
powergui
database-cloning

Resources

Encrypt Message