Can't fill in card details

@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

Works in Chrome for me. Does your F12 web console list any errors? Did your testing go through fine?

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

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.

@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

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.

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.

View code on GitHub