Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Justin Spradlin 139 posts 347 karma points
    Jul 27, 2011 @ 08:50
    Justin Spradlin
    0

    Paypal Provider - Unable to decrypt the certificate id

    I have installed the uCommerce core and shop. I have configured Paypal by following the instructions here:

    http://www.publicvoid.dk/SetupUCommerceToIncludePayPalAsAPaymentMethod.aspx

    However, when I click the button to make a SandBox payment, I get an error from PayPal saying:

    We were unable to decrypt the certificate id.

    I have searched for a while and cannot come up with anything. The only thing I can think of is that the public cerficate that I  uploaded has a CertificateId property which is not being used anywhere in my Paypal.config file. I would imagine that you would have to put the CertificateID in the Paypal.config so the id of the certificate would be encrypted with the order information.

    Can someone please help.

    Thanks,

    Justin

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jul 28, 2011 @ 17:05
    Søren Spelling Lund
    0

    Hi Justin,

    I haven't seen this particular error before. but lets try and figure it out.

    From the message my first thought is that the public/private keys might not be matched up properly, i.e. the request is encrypted with the public key of one set and PayPal tries to descrybt it with a private key from a different set.

    I would try and regenerate the keys and upload the private key to your PayPal account again. Also try redownloading the PayPal public key again.

    There's typically no certificate id in play in the configuration other than the what is stored in the certificate itself. As long as the cert is referenced properly by path in the config you should be good to go.

  • Justin Spradlin 139 posts 347 karma points
    Jul 31, 2011 @ 23:29
    Justin Spradlin
    0

    I tried the instructions several more times with the same result each time. I was using the OpenSSL recommended in your documentation. I see that the paypal guide https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_encryptedwebpayments#id08A3I0QC0X4__id08A3IL00L2L recommends that you specify the cert_id that is assigned to the public key that you upload to paypal. It also says you can set a [Sandbox] option to denote that you are testing in the sandbox. 

     

    I am running a local version of Umbraco 4.7 with SQL Server Express. I know that running locally will not allow the IPN to work. I am not expecting the IPN to work right now, I just want to be able to test submitting the payment. 

     

    Please let me know what I should try next. 

    Thanks,

    Justin

  • Justin Spradlin 139 posts 347 karma points
    Aug 01, 2011 @ 00:05
    Justin Spradlin
    0

    Nevermind. I tried again and it worked for some reason. Honest I did the exact same steps as I did the other night. Oh well. At least it is working now. 


    Thanks!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 02, 2011 @ 11:53
    Søren Spelling Lund
    0

    Perfect. I think we've all been there at one point or another - it's annoying as hell not knowing what went wrong :)

  • Tony Bolton 83 posts 109 karma points
    May 21, 2012 @ 17:12
    Tony Bolton
    1

    Just for anyone else stuck with this, the most likely cause is you're trying to post to the sandbox as your normal paypal account, but you have not added your public certificate to the sandbox seller account.

    I just had exactly the same problem, and this turned out to be the cause of the error above.  It's easy to diagnose if this is the cause - turn off sandbox mode in the paypal config for uCommerce and you'll probably find the cart will post successfully.

    HTH.

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2012 @ 10:39
    Søren Spelling Lund
    0

    Hi Tony,

    Thanks for adding this. It will be very helpful for others in the same situation.

  • Frank Alunni 6 posts 26 karma points
    Oct 22, 2012 @ 19:37
    Frank Alunni
    0

    Hi Soren,

     

    I am having the same problem and I cannot resolve it. Any ideas what alse I could try?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 24, 2012 @ 11:24
    Søren Spelling Lund
    0

    If you're using OpenSSL to generate a certificate make sure that you type everything out in the command line as opposed to copy/pasting. For some reason a valid cert can't be generated with pasted values.

  • Jim Taylor 20 posts 43 karma points
    Feb 21, 2013 @ 16:06
    Jim Taylor
    0

    I keep getting this... driving me insane!!

  • Shuchita 45 posts 154 karma points
    Aug 01, 2013 @ 04:35
    Shuchita
    0

    Hey Jim,

    Did you find any solution for this?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 02, 2013 @ 14:21
    Søren Spelling Lund
    0

    Version 3.6.3.13183 of uCommerce includes the new PayPal Express provider, which doesn't require any certs and thus much easier to set up. You might want to give that a shot.

  • Shuchita 45 posts 154 karma points
    Aug 02, 2013 @ 19:18
    Shuchita
    0

    Hi Soren,

    Thanks for replying!

    I am using the same version and I followed all the instructions given here http://www.publicvoid.dk/SetupUCommerceToIncludePayPalAsAPaymentMethod.aspx.

    I tried it 5-6 times but everytime same error. Can you please provide me another guide if I am missing anything here.

    I really need it asap.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 05, 2013 @ 09:37
    Søren Spelling Lund
    0

    Did you try changing the provider to PayPal Express?

  • Shuchita 45 posts 154 karma points
    Aug 05, 2013 @ 09:52
    Shuchita
    0

    Thanks Soren,

    You are really great!

    Superb man :)

    Thanks a ton

  • Shuchita 45 posts 154 karma points
    Aug 11, 2013 @ 06:21
    Shuchita
    0

    Hi Soren,

    I need your help again.

    Now, I need to replace my sandbox account with the client's live paypal account.

    Everything is fine except the order description on the paypal page. I am not able to get the order description on paypal page when I move there after completing order from my site.

    What am I missing here?

    Please help me out. The site is going live tomorrow.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 16, 2013 @ 10:35
    Søren Spelling Lund
    0

    Hi Shuchita,

    It seems there might be an issue with your PayPal setup rather than uCommerce when it works on one account, but not the other.

    I would take a look at the PayPal account settings and see if there are any differences between the two.

    Hope this helps.

Please Sign in or register to post replies

Write your reply to:

Draft