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 New”, 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:
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.










Thanks works 5 star
Thank you so much for this tip!! This error was driving me crazy!!
No problem, glad to be of service.
Ovidio! You are awesome! You saved our store!!! Aloha!
Thank you so much. Aloha!!!
Hi, On my browser I cannot see the code in Steps 3 or 4. Could you please update me on what it’s supposed to say? Thank you!
(my browser says:”Step 3 – Go back to the editor, and type the following code where you want the button to appear:
Where 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.”)
Thanks for catching the mistake. It has been fixed now.
Thanks for this fix. The WordPress editor is such a pain sometimes!
No problem, I’m glad I could be of help.
thanks very much for this solution! by the way, i found you do not have to add the paypal code in one line, it worked as is!
Thanks for the tip.
thank you thank you thank you!
My pleasure. I’m glad I was able to help.
I spent last 5 hours trying to figure it out. Thank you SO much!
Glad to be of help.
Thanks!
I am going to add my many thanks for your plugin to resolve my maddening problem with the cart.
You are very welcome.