3

I'm little bit fighting with the PayPal button. I have the unencrypted version which works great, the problem is that the customer can change the amount etc. I found out that is possible to encrypt the data. I used these two examples. The problem is that I'm getting 'We were unable to decrypt the certificate id.'. Maybe it looks like I don't have right PayPal public certificate? I downloaded it from the backend, the only one I found. There wasn't any reference where to download it in non of the turorials. I'm trying this on sandbox right now. Please can anyone advice?

RivieraKid
  • 5,923
  • 4
  • 38
  • 47
martin.malek
  • 2,166
  • 2
  • 19
  • 31
  • I think that you already answered your question. – Māris Kiseļovs Sep 17 '10 at 06:53
  • @Māris The problem is that I didn't found any other certificate. So if you know where to find it can be helpful. This one was from Profile / Hosted payment settings / Website payment certificates – martin.malek Sep 17 '10 at 07:30
  • 3
    can't you just verify the amount in your backend? Consider quantities lower that the actual price as a donation :) – Mala Aug 17 '11 at 21:49

1 Answers1

2

Check this, it may help you: Dynamic Paypal button encryption; also verify you're using the current certificate and be advised that if you're doing tests in the sandbox, the sandbox uses a different certificate of the one you get in the main site (and also you must have an account in the sandbox which is different of your main account).

Community
  • 1
  • 1
Rafael
  • 2,827
  • 1
  • 16
  • 17