Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter rich95

    (@rich95)

    I believe I have fixed this. It was not a WooCommerce issue, rather Chrome.

    Chrome now blocks all content not associated with https://

    Since the links to my download buttons were still using https:// Chrome wasn’t even downloading them. An error message would have been helpful, Chrome… <rolls eyes>

    Anyway, in case it helps anyone else.

    Thanks,
    -Richard

    Thread Starter rich95

    (@rich95)

    Unfortunately, I didn’t know how to solve it and I had to get my developer to fix it, which they did. But I’d be at a loss to l ow what they did.

    Richard

    Thread Starter rich95

    (@rich95)

    If you check out the reviews it states so. Or perhaps I’m misinterpreting it for injecting ads?

    https://www.ads-software.com/plugins/enable-media-replace/#reviews

    -Richard

    Thread Starter rich95

    (@rich95)

    Hi Griga;

    You’re right – it works!

    Thanks for looking into this and, more importantly, for sharing the solution with everyone. It is much appreciated! ??

    Regards,
    -Richard

    Thread Starter rich95

    (@rich95)

    I did not. And no one here bothered to help as you can see.

    If you find anything, please let me know as well.

    -Richard

    @wendy

    After paying for support, I found out my issue was because my host, 1and1, has not yet upgraded their TLS to 1.2. This explains why my sandbox transactions fail (PayPal has implemented it in their sandbox) but my live transactions till work (PayPal haven’t yet implemented TLS 1.2 in their live site – this will happen in late June).

    I called my host and they said they plan to do the upgrade before PayPal’s deadline. I just wish I could have figured this out before paying for the support I had to.

    I hope this helps you, Wendy.

    -Richard

    Thread Starter rich95

    (@rich95)

    I just realized that setting WooCommerce in the Downloadable Products section to Redirect Only doesn’t protect the URL and will delete any .htaccess in that folder but using Forced Downloads or X-SendFile will, and will create the required .htaccess in that folder.

    Any suggestions on which to use?

    Thanks,
    -Richard

    Hi Mike;

    I spoke to them again and have also provided them with your feedback. Although OpenSSL version can be changed using root access, I cannot use root access because I am on a managed server. Therefore, that is the version that is provided to me.

    Is this a showstopper? Are you certain this is this the root of the problem?

    Can WooCommerce still work with this version? I use 1and1 and they are HUGE. I imagine I am not they’re only client using WooCommerce.

    What can we do from here to get this working. I really, really can’t afford anymore downtime.

    Please let me know,
    -Richard

    Hi Mike – glad you pointed that out for me. I called them back and another agent gave me the following info:

    As requested below is the version of openssl running on your server:
    OpenSSL 0.9.8o 01 Jun 2010

    Not sure why the first guy gave me wrong information. I hope this will help get to the bottom of my issue?

    Regards,
    -Richard

    I just called them – 1and1. I have a managed dedicated server.

    They said I do not have OpenSSL running because I do not have an SSL certificate. They said if I purchase an SSL certificate, the version will be TLS 2.0 with SHA2.

    I thought I didn’t need an SSL certificate? Wasn’t that what you said?

    -Richard

    Morning Mike;

    I’ve redownloaded the woocommerce.php and class-wp-https.php files and modified the https one to read:

    public static function http_api_curl( $handle, $r, $url ) {
    		if ( strstr( $url, 'https://' ) && ( strstr( $url, '.paypal.com/nvp' ) || strstr( $url, '.paypal.com/cgi-bin/webscr' ) ) ) {
    			curl_setopt( $handle, CURLOPT_SSLVERSION, 6 );
    		}
    	}

    As outlined by you.

    I performed another test transaction but it still fails. My server is using PHP 5.5 – could this be an issue? Here is my latest log:

    04-19-2016 @ 10:35:33 - Generating payment form for order 4061. Notify URL: https://richardrosenman.com/wc-api/WC_Gateway_Paypal/
    04-19-2016 @ 10:35:55 - Checking IPN response is valid
    04-19-2016 @ 10:35:55 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 29.99
                [invoice] => WC-4061
                [protection_eligibility] => Ineligible
                [item_number1] => 09442738
                [payer_id] => PHH9S5XRFKS2L
                [tax] => 0.00
                [payment_date] => 07:35:50 Apr 19, 2016 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => ******
                [notify_version] => 3.8
                [custom] => {"order_id":4061,"order_key":"wc_order_57164235e4f14"}
                [payer_status] => verified
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => Ae-XDUZhrxwaCSsmGO9JpO33K7P1ATxPUryculJjoz1DfrbiPKpMz8pE
                [payer_email] => ******
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 9MT84202LD414310S
                [payment_type] => instant
                [last_name] => ******
                [item_name1] => Product
                [receiver_email] => ******
                [quantity1] => 1
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 29.99
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] =>
                [payment_gross] => 29.99
                [ipn_track_id] => 4e1c2480af0dc
            )
    
        [timeout] => 60
        [httpversion] => 1.1
        [compress] =>
        [decompress] =>
        [user-agent] => WooCommerce/2.5.5
    )
    
    04-19-2016 @ 10:35:55 - IPN Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => The SSL certificate for the host could not be verified.
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )
    
    04-19-2016 @ 10:35:55 - Received invalid response from PayPal
    04-19-2016 @ 10:35:55 - Error response: The SSL certificate for the host could not be verified.
    04-19-2016 @ 10:36:09 - Checking IPN response is valid
    04-19-2016 @ 10:36:09 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 29.99
                [invoice] => WC-4061
                [protection_eligibility] => Ineligible
                [item_number1] => 09442738
                [payer_id] => PHH9S5XRFKS2L
                [tax] => 0.00
                [payment_date] => 07:35:50 Apr 19, 2016 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => ******
                [notify_version] => 3.8
                [custom] => {"order_id":4061,"order_key":"wc_order_57164235e4f14"}
                [payer_status] => verified
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => Ae-XDUZhrxwaCSsmGO9JpO33K7P1ATxPUryculJjoz1DfrbiPKpMz8pE
                [payer_email] => ******
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 9MT84202LD414310S
                [payment_type] => instant
                [last_name] => ******
                [item_name1] => Product
                [receiver_email] => ******
                [quantity1] => 1
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 29.99
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] =>
                [payment_gross] => 29.99
                [ipn_track_id] => 4e1c2480af0dc
            )
    
        [timeout] => 60
        [httpversion] => 1.1
        [compress] =>
        [decompress] =>
        [user-agent] => WooCommerce/2.5.5
    )
    
    04-19-2016 @ 10:36:09 - IPN Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => The SSL certificate for the host could not be verified.
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )
    
    04-19-2016 @ 10:36:09 - Received invalid response from PayPal
    04-19-2016 @ 10:36:09 - Error response: The SSL certificate for the host could not be verified.

    Thank you for your patience and don’t give up on me! I’m sure we’ll get there soon…

    -Richard

    Hi Mike;

    Thanks for your reply.

    Which one in specific? I tried overriding the two files you had provided:

    WooCommerce.php and class-wc-https.php and it didn’t help.

    Then I tried setting to v6 in the class-wc-https.php but didn’t help.

    And I tried using the different WordPress certificate outlined in ca-bundle.crt. Also didn’t help.

    But if you let me know in specific, I can try it again and post the log for you.

    Thank you and please note that I’m greatful for all your help so far.

    Richard

    Mike;

    I have just upgraded both WP and WooCommerce to the latest, lost all my custom mods, and the problem still persists. Here is the new log file:

    04-18-2016 @ 21:30:07 - Generating payment form for order 4000. Notify URL: https://domain.com/wc-api/WC_Gateway_Paypal/
    04-18-2016 @ 21:30:31 - Checking IPN response is valid
    04-18-2016 @ 21:30:32 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 59.98
                [invoice] => WC-4000
                [protection_eligibility] => Ineligible
                [item_number1] => 09442738
                [payer_id] => PHH9S5XRFKS2L
                [tax] => 0.00
                [payment_date] => 18:30:24 Apr 18, 2016 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => ******
                [notify_version] => 3.8
                [custom] => {"order_id":4000,"order_key":"wc_order_57158a1f46c63"}
                [payer_status] => verified
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => AXNv527OXGXXWTFZ522ssaTHrOdYAMkE9rQwZEICVRFCq7pjB5aftBIj
                [payer_email] => ******
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 49H63184LK747183N
                [payment_type] => instant
                [last_name] => ******
                [item_name1] => Product
                [receiver_email] => ******
                [quantity1] => 2
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 59.98
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] =>
                [payment_gross] => 59.98
                [ipn_track_id] => 9e278fd3b56a4
            )
    
        [timeout] => 60
        [httpversion] => 1.1
        [compress] =>
        [decompress] =>
        [user-agent] => WooCommerce/2.5.5
    )
    
    04-18-2016 @ 21:30:32 - IPN Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => The SSL certificate for the host could not be verified.
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )
    
    04-18-2016 @ 21:30:32 - Received invalid response from PayPal
    04-18-2016 @ 21:30:32 - Error response: The SSL certificate for the host could not be verified.
    04-18-2016 @ 21:30:48 - Checking IPN response is valid
    04-18-2016 @ 21:30:48 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 59.98
                [invoice] => WC-4000
                [protection_eligibility] => Ineligible
                [item_number1] => 09442738
                [payer_id] => PHH9S5XRFKS2L
                [tax] => 0.00
                [payment_date] => 18:30:24 Apr 18, 2016 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => ******
                [notify_version] => 3.8
                [custom] => {"order_id":4000,"order_key":"wc_order_57158a1f46c63"}
                [payer_status] => verified
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => AXNv527OXGXXWTFZ522ssaTHrOdYAMkE9rQwZEICVRFCq7pjB5aftBIj
                [payer_email] => ******
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 49H63184LK747183N
                [payment_type] => instant
                [last_name] => ******
                [item_name1] => Product
                [receiver_email] => ******
                [quantity1] => 2
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 59.98
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] =>
                [payment_gross] => 59.98
                [ipn_track_id] => 9e278fd3b56a4
            )
    
        [timeout] => 60
        [httpversion] => 1.1
        [compress] =>
        [decompress] =>
        [user-agent] => WooCommerce/2.5.5
    )
    
    04-18-2016 @ 21:30:48 - IPN Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => The SSL certificate for the host could not be verified.
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )
    
    04-18-2016 @ 21:30:48 - Received invalid response from PayPal
    04-18-2016 @ 21:30:48 - Error response: The SSL certificate for the host could not be verified.
    04-18-2016 @ 21:31:17 - Checking IPN response is valid
    04-18-2016 @ 21:31:17 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 59.98
                [invoice] => WC-4000
                [protection_eligibility] => Ineligible
                [item_number1] => 09442738
                [payer_id] => PHH9S5XRFKS2L
                [tax] => 0.00
                [payment_date] => 18:30:24 Apr 18, 2016 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => ******
                [notify_version] => 3.8
                [custom] => {"order_id":4000,"order_key":"wc_order_57158a1f46c63"}
                [payer_status] => verified
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => AXNv527OXGXXWTFZ522ssaTHrOdYAMkE9rQwZEICVRFCq7pjB5aftBIj
                [payer_email] => ******
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 49H63184LK747183N
                [payment_type] => instant
                [last_name] => ******
                [item_name1] => Product
                [receiver_email] => ******
                [quantity1] => 2
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 59.98
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] =>
                [payment_gross] => 59.98
                [ipn_track_id] => 9e278fd3b56a4
            )
    
        [timeout] => 60
        [httpversion] => 1.1
        [compress] =>
        [decompress] =>
        [user-agent] => WooCommerce/2.5.5
    )
    
    04-18-2016 @ 21:31:17 - IPN Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => The SSL certificate for the host could not be verified.
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )
    
    04-18-2016 @ 21:31:17 - Received invalid response from PayPal
    04-18-2016 @ 21:31:17 - Error response: The SSL certificate for the host could not be verified.
    04-18-2016 @ 21:32:28 - Checking IPN response is valid
    04-18-2016 @ 21:32:29 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 59.98
                [invoice] => WC-4000
                [protection_eligibility] => Ineligible
                [item_number1] => 09442738
                [payer_id] => PHH9S5XRFKS2L
                [tax] => 0.00
                [payment_date] => 18:30:24 Apr 18, 2016 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => ******
                [notify_version] => 3.8
                [custom] => {"order_id":4000,"order_key":"wc_order_57158a1f46c63"}
                [payer_status] => verified
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => AXNv527OXGXXWTFZ522ssaTHrOdYAMkE9rQwZEICVRFCq7pjB5aftBIj
                [payer_email] => ******
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 49H63184LK747183N
                [payment_type] => instant
                [last_name] => ******
                [item_name1] => Product
                [receiver_email] => ******
                [quantity1] => 2
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 59.98
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] =>
                [payment_gross] => 59.98
                [ipn_track_id] => 9e278fd3b56a4
            )
    
        [timeout] => 60
        [httpversion] => 1.1
        [compress] =>
        [decompress] =>
        [user-agent] => WooCommerce/2.5.5
    )
    
    04-18-2016 @ 21:32:29 - IPN Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => The SSL certificate for the host could not be verified.
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )
    
    04-18-2016 @ 21:32:29 - Received invalid response from PayPal
    04-18-2016 @ 21:32:29 - Error response: The SSL certificate for the host could not be verified.

    Please advise.

    -Richard

    So do you recommend I try an upgrade first to the latest WordPress 4.5 Release Candidate and see if that will fix it?

    Will it break anything? I mean – if it doesn’t fix it, can I revert back to my current (through FTP) and it should work as it did before?

    I am currently running WordPress 3.9.2.

    -Richard

    So Mike – what needs to be done to get this working? Do I need to upgrade to latest WooCommerce? I’ll lose all my custom coding but it that will fix it, I will have to do it.

    Or upgrade my WordPress only?

    I have lost a month now so I need to find a solution asap. Please advise?

    -Richard

Viewing 15 replies - 1 through 15 (of 22 total)