Driver Robot Speeds & Cleans up Your PC Automatically

Driver Robot automatically downloads the latest drivers for your PC and keeps it running smoothly. Inject new life into your old PC and fix existing problems instantly. Run a free driver scan now and put your PC back in business.

 

Big Stock Photo Promo Code

Big Stock Photo offers nearly 3 million stock photos to choose from - royalty free, starting at $1 per photo. We're able to extend 5 free photo credits to our visitors for a limited time. Click here and use promo code DIR5XM2 when you sign up.



Feb 20 2008

We were unable to decrypt the certificate id


Filed under: E-Commerce » Paypal,
Tools:


Paypal payment buttons not working?

The error We were unable to decrypt the certificate id has become quite common recently.  Most commonly it's a result of a WYSIWYG (What You See Is What You Get) editor such as FCKEditor or TinyMCE.  Basically, you obtain the button code for your Paypal Buy It Now or Subscription or other similar button to place in your webpage.  If you were copying and pasting this into raw HTML it would most likely work fine.  The problem with the WYSIWYG editors is that they, by default, when the page is processed, insert certain code elements.  For example, in the case of FCKEditor, a linebreak (<br />) element was inserted towards the end of the button code.

WYSIWYG Editors Changing Your Paypal Button Code

To resolve this, examine your button code by viewing the source code of your webpage, and compare it to the original code in Paypal.  If you notice anything different, particularly if there's a linebreak (<br />) or newline ("\n") element inserted, this is most likely causing the we were unable to decrypt the certificate id error.

Solution to Get Your Paypal Button Working Again

To get your Paypal button working again, try:

  • Turning off your WYSIWIG editor while you insert the code and save the page (or simply disabling the editor for that particular page)
  • Editing the source code (FCKEditor, for example, offers a "view source" button to users with that privilege) and backspacing content so it occurs side-by-side, and not on a separate line.  The editor may parse the new line by inserting a line break element (<br />), which will disrupt the button code. 

When you save the page and view its source compare the button code to the Paypal original button code again.  If they're the same, you should not be getting the above error anymore.

Average: 5 (5 votes)
Tools:



WordPress

Make sure you switch back to visual editing mode after inputting your code in html editing mode (the tabs at the top right of the editing bar), if you update the page from html mode you'll get the unable to decrypt notice.

Compare Paypal button codes

When you save the page and view its source compare the button code to the Paypal original button code again. If they're the same, you should not be getting the above error anymore.

Solution to Paypal button problem

I had to solve this problem to get a button working on my own site, which is powered by Drupal.

  1. Generate the button code on the Paypal site.
  2. Copy the code and paste it into notepad or another text editor.
  3. Make the entire code one line long - Notepad automatically wraps text at a certain length, just make sure no extra spaces exist in the code. Be sure "word wrap" is disabled, too.
  4. Copy this code and paste it into your WYSIWYG editor. The problem should be solved.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <br />
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.