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

Php generated wrong format url file path after upload to server
Php PDO search string as Google or order by best match
Submitting the same value many times when the value needs to be unique
'Order by' specified order in Woocommerce shortcode
woocommerce hooks warning “function not found”
How to acces value from route in symfony2
Get Value Of Table Field
redirecting a long URL to https
How to embed this php code in html?
Uncaught Error: Call to undefined function curl_init()
Multi level login by address
SELECT * FROM table WHERE `id` in … and where sum() less
Laravel: Undefined method fake on Laravel storage facades for file upload testing
Very Complex SQL Data Result Merge via PHP (Multi Dimentional Arrays)
codeigniter Insert_batch not working
How do I fix this invalid JSON that wasn't escaped? (in PHP)

Categories

HOME
google-chrome
jboss
orientdb
freeradius
barcode-scanner
compilation
tcsh
mongoid
dronekit-python
amp
position
responsive-design
clickable-image
phpstorm-2017.1
google-awareness
home
pfobject
libgit2
kaggle
offline-caching
points
d3.js-v4
matlab-app-designer
rspec-rails
caesar-cipher
winrm
strapi
cheat-engine
slideshow
word-cloud
haar-classifier
doctrine-extensions
common-table-expression
swift2.3
head.js
dblink
polymaps
predicates
zend-server
instafeedjs
qtextedit
yargs
cefpython
yui3
dcount
coovachilli
gwt-syncproxy
preferenceactivity
ioctl
voronoi
decidable
place
roxygen2
modern.ie
relational-model
debug-symbols
dos2unix
juttle
symja
cout
smacss
multivariate-testing
visual-studio-6
xcode6.3.1
stripe.net
pageviews
spring-security-acl
strcmp
facebook-game-groups
xsd2code
rautomation
libxml-js
acceptance-testing
microformats
dynamic-rdlc-generation
unicoins
arel
tfs-sdk
django-filebrowser
cyrillic
multiscaleimage
system-information
liveconnect
quartz-core
mmc3
airprint
nsconnection
regression-testing
aptitude
solandra
ixmldomdocument
sqlsitemapprovider
iphone-sdk-3.1.3
acceleration
webclient.uploaddata

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