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 check no. of rows returned when using MYSQLI_STMT_PREPARE and MYSQLI_FETCH_ARRAY?
Ignoring line breaks in video URLs
Put all the (foreach) values in one array
Inner Join table onto its self after grouping the table
Google Drive Document
Match characters that are not inside certain HTML tag and does not contain a certain word
How to get a thing from a Json text?
How can i give a common button of submission of the form which is generating many buttons
PHP sort array by key
Diffrence Between Include And Include()
MySQL: Updating rows with Select and Limit
Live Notifications using JQuery and CodeIgniter
Is web calendar publishing (.ical or ics) pushed by publisher or pulled by subscriber?
Why doesn't file_get_contents() appear to have the same access as curl_exec()?
How to create dynamic tables in MySQL
Changing PHP Session Variable with POST

Categories

HOME
haproxy
iverilog
celery
autocomplete
biztalk-2010
elk-stack
impala
minecraft
native-base
mailing-list
lapack
powermock
stimulsoft
django-rq
reselect
exe
anova
el
channel
mod-wsgi
environment
xdebug
acrobat
tsung
openbr
python-2.x
sca
nest
payeezy
polyml
netstat
fastlane
aurelia-http-client
android-n
tidal-scheduler
grails-spring-security
classnotfoundexception
yoast
contactless-smartcard
web-inspector
jqgrid-asp.net
libreoffice-writer
beeline
sigsegv
mongodb-aggregation
mechanicalturk
cognos-tm1
mifos
pyaudio
gcloud-node
raw-sockets
node.js-connect
powerpoint-2013
codecharge
timestamping
verisign
perceptron
nette
directx-9
nastran
dynamics-ax-2012-r2
cache-manifest
bootstrap-wysiwyg
componentart
unidata
deque
nssortdescriptor
rfc5545
baseadapter
sunos
iodocs
ecos
windows-messages
assetic
frontbase
non-ascii-characters
node.js-stream
bcdedit
notin
web-frameworks
hardcode
liveconnect
kolite
groovy-console
mongrel2
tessellation
google-translator-toolkit
external-sorting
main-method

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile