• Resolved mmeadpond

    (@mmeadpond)


    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.9

    Server 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 Mead

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I tested the purchase of one of the books and I get the following error message in the browser.

    Mixed Content: The page at 'https://enemieswithinmovie.com/cart/' was loaded over HTTPS, but requested an insecure favicon 'https://enemieswithinmovie.com/wp-content/uploads/2015/08/facion.png'. This request has been blocked; the content must be served over HTTPS.

    The above is telling me that you have mixed content that is not currently secured.

    Kind regards

    Thread Starter mmeadpond

    (@mmeadpond)

    Thank you, Mbr. I so appreciate you taking the time to find the error and respond. Now I’ll try to figure out how to fix it. ??

    Plugin Author wp.insider

    (@wpinsider-1)

    A plugin like the following can sometimes be helpful to make all your post/page content force use HTTPS URLs:
    https://www.ads-software.com/plugins/https-redirection/

    Thread Starter mmeadpond

    (@mmeadpond)

    Dear wp.insider,

    Thank you so much. Thanks to your suggestion, it is now fixed.

    I really appreciate the info and suggestion.

    Kind regards, Maureen

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal-Pro gateway requires SSL certificate for better security. The Secure chec’ is closed to new replies.