When I set up my most recent WooCommerce website, I got the message:
“Square is enabled, but the force SSL option is disabled; your checkout is not secured! Please enable SSL and ensure your server has a valid SSL certificate.”
My client has a properly installed valid SSL certificate. I checked their “Really Simple SSL” plugin settings against my other similar websites. So why am I getting this message? And why won’t Square load as a payment option at checkout?
The below solutions were found in the WordPress support forum:
If your website is not loading over HTTPS
After ensuring that your SSL Certificate is properly installed, log in to http://yourwebsite.com/wp-admin and go to “WooCommerce > Settings > Advanced” to force SSL checkout.
If your website is already loading over https, this setting will be hidden. Try the below steps, which worked perfectly for me.
If your website is loading over HTTPS
Step 1: Make sure you have a recent backup! The page I am sending you to gives access to important database entries. A simple typo could cause major problems.
- Go to https://yourwebsite.com/wp-admin/options.php
- Look for the line “woocommerce_force_ssl_checkout“
- Change the setting from “no” to “yes”
- Scroll down and save
Note: There is also a “woocommerce_unforce_ssl_checkout” which should be left on “no”. Make sure you don’t get these two settings mixed up!
Reconnect Square (credit card processor)
After enabling “force ssl checkout”, Square was still not showing as a payment option at checking. I had to:
- Disable Square plugin
- Clear all WordPress caches
- Enable Square plugin and reconnect it to the appropriate Square account