PayPal View Cart Error: We were unable to decrypt the certificate id – SOLVED!
A couple of days ago I was helping a friend set up his website using WordPress. He will be accepting payment for his services via PayPal. We created all the necessary buttons and they all worked fine, except for the View Cart Button. It would always give us the following error:
We were unable to decrypt the certificate id
After an extensive search on the Internet, we found a solution, so I decided to share it with you. The problem has to do with the editor in WordPress. When you save your work, most editors parse the code and sometimes “add” stuff to the code (why? – I do not know). The problem is that they will add stuff to the View Cart button code and this will cause the error. A way to get around this is to create a “custom field” in WordPress so that the editor will not “muck” with the PayPal code. This is how you do it:
Step 1 – Get the custom-fields-shortcode plugin. Install and activate it.
Step 2 – Now we need to create a custom field for the View Cart code. On the page/post that you want to include the View Cart button, go down towards the bottom of the screen and find the “Custom Fields” area.

Click on “Enter Name”, and enter any name you want to call this field. For this exercise, we will call it PayPalViewCart. Next, go to the “Value” area and paste the code from PayPal. NOTE: The PayPal code must be in one contiguous line. You can do this by editing it using notepad. When you are done click on “Add Custom Field”.

Step 3 – Go back to the editor, and type the following code where you want the button to appear:
[cf]PayPalViewCart[/cf]
Where [cf] and [/cf] are the delimiters for the custom-fields-shortcode plugin, and “PayPalViewCart” is the name of the field we just created.
Step 4 – Publish/Update your page/post. That’s It! The button should work fine now.
I hope this has helped, let me know if it worked for you.


