Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

PayPal Website Payments Pro Error "Unable to set private key" Error 58


Recommended Posts

Hi all!


I recently have been running into a problem on an OSCommerce site using the one page checkout contribution.


Using Paypal Website Payments Pro, the user enters their credit card information (for Direct Payments) on checkout_payment.php and then are taken to the checkout_confirmation.php page.


All is good until they confirm... the user is then sent to checkout_shipping.php (which is normally not used in the one page checkout). Once they choose their shipping option again, they are sent to the checkout_payment.php page and greeted by the following error:


unable to set private key file: '/path_to/includes/modules/payment/wpp_cert/paypal_cert_pem.txt' type PEM (Error No. 58)


Does anyone have any ideas that could be causing this error?


Any leads or speculation will be greatly appreciated!

Edited by Jan Zonjee
Link to comment
Share on other sites

Update: fixed it, woohoo!


Turns out the certificate was bad. I removed the certificate from the server, removed the certificate from Paypal, generated a new certificate on Paypal, uploaded the certificate to the server and it works.


Crisis averted. Time to get paid, yo.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...