woocommerce / woocommerce-gateway-paypal-express-checkout

58 stars 65 forks source link

Update bundle.pem #822

Closed meek2100 closed 3 years ago

meek2100 commented 3 years ago

Tickets:

My Support Post: https://wordpress.org/support/topic/paypal-not-working-curl-error-60-peers-certificate-issuer/#post-13500869

Other Posts That Sound Similar: https://wordpress.org/support/topic/paypal-error-3-an-error-message-but-credentials-are-correct/ https://wordpress.org/support/topic/the-api-credentials-you-provided-are-not-valid-2/ https://wordpress.org/support/topic/an-error-occurred-while-trying-to-validate-your-api-credentials/

Description:

The certificates in this chain for api-3t.sandbox.paypal.com are outdated & expired. I've updated this with the new certificate chain issued by DigiCert that is used by PayPal (https://www.paypal.com/us/smarthelp/article/where-can-i-find-paypal-ssl-server-certificates-ts1510).

Steps to test:

  1. Update bundle.pem
  2. Authenticate Paypal
  3. Enable Paypal
  4. Checkout successfully.

Documentation

No

Changelog entry

Updated bundle.pem

meek2100 commented 3 years ago

For verification of the .pem bundle, it can be verified here: https://tools.keycdn.com/ssl or with other certificate verification tools.

starkmatt commented 3 years ago

Hey man, Thanks so much for this, I followed your post from Wordpress to here and I've tried it in my own environment. Can confirm that this works and fixes the issue

"PayPal error (3): An error (3) occurred while processing your PayPal payment. Please contact the store owner for assistance."

And

An error occurred while trying to validate your API credentials. Unable to verify that your API credentials are correct.

mattallan commented 3 years ago

Thanks @meek2100, I've confirmed the new certificates being updated here are correct :+1: