PayPal-Pro gateway requires SSL certificate for better security. The Secure chec
-
I’m getting the following error on the backend of WooCommerce:
“PayPal-Pro gateway requires SSL certificate for better security. The Secure checkout option is disabled on your site. Please ensure your server has a valid SSL certificate so you can enable the SSL option on your checkout page.”
The site does have a valid SSL certificate.
So, based on suggestions from other posts, I changed, via FTP the functions.php to the following code from “false” to “true”:
** * Whether to force SSL used for the Administration Screens. * * @since 2.6.0 * * @param string|bool $force Optional. Whether to force SSL in admin screens. Default null. * @return bool True if forced, false if not forced. */ function force_ssl_admin( $force = null ) { static $forced = true; if ( ! is_null( $force ) ) { $old_forced = $forced; $forced = $force; return $old_forced; } return $forced; }
======
I saved the file, uploaded via FTP and still the warning.
Thanks for your help.
Wordpress Current version: 5.8.2
Divi Version: 4.14.2
WooCommerce Version 5.9.0
PayPal Pro Version 2.9.9Server architecture Linux 3.10.0-862.14.4.el7.x86_64 x86_64 Web server Apache PHP version 7.4.26 (Supports 64bit values) PHP SAPI fpm-fcgi PHP max input variables 1000 PHP time limit 30 PHP memory limit 512M Max input time 60 Upload max filesize 2M PHP post max size 8M cURL version 7.79.1 OpenSSL/1.1.1l Is SUHOSIN installed? No Is the Imagick library available? No Are pretty permalinks supported? Yes .htaccess rules Custom rules have been added to your .htaccess file.
=====
Please advise. Thanks, M MeadThe page I need help with: [log in to see the link]
- The topic ‘PayPal-Pro gateway requires SSL certificate for better security. The Secure chec’ is closed to new replies.