swevac LiteCart Fan Nuo Sweden Narys nuo vas. 2016 swevac 27 rugp. 2019 15:09 @tim - I need help. Clients are telling me they can't make payments with card (stripe). It seems it does not work with chrome and firefox. explorer / edge I have not been able to test with. Safari works.. The field where they should add card numbers are not able to be filled in - it is a locked field.. What can I do?
tim Founder Nuo Sweden Narys nuo geg. 2013 tim 27 rugp. 2019 15:12 Works in Chrome for me. Does your F12 web console list any errors? Did your testing go through fine?
swevac LiteCart Fan Nuo Sweden Narys nuo vas. 2016 swevac 27 rugp. 2019 15:17 Found something - It does not direct to https Using https makes it work. Can it be forced to https?? @tim This must have something to do with the update of stripe right? This is the first time I heard of the problem and I do not have this kind of failed payments in litecart earlier neither.
tim Founder Nuo Sweden Narys nuo geg. 2013 tim 27 rugp. 2019 21:21 Only test mode supports non-https. It was the same limitation with the previous module using the same javascript library. You can force https by uncommenting the htaccess directive in the root .htaccess file. Https ranks higher than http in google ranks.
swevac LiteCart Fan Nuo Sweden Narys nuo vas. 2016 swevac 28 rugp. 2019 09:10 @tim These lines you are referring to? Force HTTPS (Standard SSL) #RewriteCond %{HTTPS} off #RewriteCond %{REQUEST_METHOD} !=POST #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] All google links etc. are HTTPS - How clients ended up on HTTP is for me an enigma..
tim Founder Nuo Sweden Narys nuo geg. 2013 tim 28 rugp. 2019 11:40 Yes those are the lines. :) Google prioritizes https. Your clients might have just typed the domain name in the address bar where the browser defaults to http.
swevac LiteCart Fan Nuo Sweden Narys nuo vas. 2016 swevac 28 rugp. 2019 11:47 Ok - So I am not good at html as you probably realized :) I removed the # making it look like; Force HTTPS (Standard SSL) RewriteCond %{HTTPS} off RewriteCond %{REQUEST_METHOD} !=POST RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] That was not a good idea - Site became unaccessible.
tim Founder Nuo Sweden Narys nuo geg. 2013 tim 28 rugp. 2019 23:41 All looks good. How was it inaccessible? An HTTP 500 error, or a certificate warning? Are you on an apache webserver? What apache version? See if you can get any alternative solutions here: https://stackoverflow.com/questions/4083221/how-to-redirect-all-http-requests-to-https