ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

"Cannot decrypt certificate ID" rears its ugly head...

April 03, 2009 7:49pm

Subscribe [3]
  • #1 / Apr 03, 2009 7:49pm

    Motomasa

    17 posts

    I’ve seen the few topics related to this, and it seems nobody has posted a solution as yet.

    I’ve tried to contact PayPal directly about this, and they have told me that using their button factory is a “solution,” or more recently:

    Sounds like when Expression Engine is creating the buttons and inserts the button code, something in the code is causing something that IE doesn’t like and it’s causing the button to fail. I would check with Expression Engine to see what could be causing the problem.

    The biggest problem I’m finding is that it really is only an issue with IE - Firefox/Camino/Safari/Netscape are not a problem at all. Has anybody managed to solve this problem?

  • #2 / Apr 04, 2009 4:07pm

    Greg Aker

    6022 posts

    Are you using the buy now buttons or links?

    Also, what version/build of ExpressionEngnie are you running?

    -greg

  • #3 / Apr 04, 2009 8:36pm

    Motomasa

    17 posts

    This is basically in follow-up to the thread:

    http://ellislab.com/forums/viewthread/102054/P0/

    I just realized there was a last response from you Greg, which I didn’t see on that one (regarding php errors). But the cannot decrypt error was discovered a few weeks later, as my clients and I all use Macs. PayPal has also confirmed the buttons work just fine in everything except IE 6/7.

  • #4 / Apr 06, 2009 11:53am

    Sue Crocker

    26054 posts

    What about IE8?

  • #5 / Apr 07, 2009 10:29pm

    Motomasa

    17 posts

    They did not say anything about testing in IE 8.

    Something that they sent that actually might be of use:

    In regards to the issue, what is happening is the buttons are being setup to do a “GET” in stead of a “POST” so with IE it only allows 2083 characters to be passed in the URL. For the Buy Now button for the product “Medicine of Light-A Shaman’s Journey through Mystic Space-Time” the character size = 3344.

    Can the buttons be set to use POST instead?

  • #6 / Apr 08, 2009 1:09am

    Derek Jones

    7561 posts

    The buttons POST, the links GET.  If you are using the button variables, they should work fine in all browsers with your items.

  • #7 / Apr 08, 2009 1:45am

    Motomasa

    17 posts

    OK, so it seems though I thought I was using buttons, they are links since they are <a> tags with a reference to a graphic for the button. I seem to be having a hard time finding the way of using button variables with the Encrypted Website Payments…

  • #8 / Apr 08, 2009 1:48am

    Derek Jones

    7561 posts

    Can you share the code you’re using for your Simple Commerce tag?  Place it in [code][/code] blocks, please.

  • #9 / Apr 08, 2009 1:54am

    Motomasa

    17 posts

    I’m using essentially the same code at the top of the page http://expressionengine.com/docs/modules/simple_commerce/sc_purchase.html except instead of a text link between the <a> tags, I am calling up an image.

    I am referencing the page because I know some of this code will disappear in the block…

    <table><tr><td><a >{site_url}/assets/DSH-Buy-now.jpg</a></td></tr>
    <tr><td><a >{site_url}/assets/DSH-Add-to-cart.jpg</a></td></tr>
    <tr><td><a >{site_url}/assets/DSH-View-cart.jpg</a></td>
    </tr></table>
  • #10 / Apr 08, 2009 2:00am

    Derek Jones

    7561 posts

    JavaScript would be filtered from our forums, but the markup isn’t important - I just want to know what variables you’re using.  If you’re using the code on the page of the docs you linked above, that would mean you’re using links and not buttons.  Reference

  • #11 / Apr 08, 2009 2:12am

    Motomasa

    17 posts

    Ah great… that seems to have done the trick.

    It would be good to note in the documentation that when using WEP, buttons are preferable due to the long string that gets transferred. IE only parsing a limited number of characters in a “GET” function is not something I had any idea about.

    I switched from the buttons to links initially so I could make a button that looked more consistent with he PayPal button styling. I don’t suppose there is any way to alter how the buttons look when using the {xxxxx_button} code?

  • #12 / Apr 08, 2009 2:25am

    Derek Jones

    7561 posts

    I switched from the buttons to links initially so I could make a button that looked more consistent with he PayPal button styling. I don’t suppose there is any way to alter how the buttons look when using the {xxxxx_button} code?

    Styling form controls is largely browser-dependent, but you’ll notice that they all have a ‘paypal_button’ class applied, so you can tie whatever CSS / JavaScript you like to that class to restyle as you like / as browsers allow.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases