如何加密 PayPal 按钮
我对 PayPal 按钮有点抵触。我有未加密的版本,效果很好,问题是客户可以更改金额等。我发现可以加密数据。我使用了这些 两个 示例。问题是我收到“我们无法解密证书 ID”。也许我没有正确的 PayPal 公共证书?我是从后台下载的,唯一找到的。在非教程中没有任何参考在哪里下载它。我现在正在沙箱上尝试这个。请问有人可以建议吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查这个,它可能对您有帮助:动态 Paypal 按钮加密;还要验证您正在使用当前的证书,并请注意,如果您在沙箱中进行测试,沙箱将使用您在主站点中获得的证书不同的证书(并且您必须在沙箱中拥有一个帐户,该帐户与您的主帐户不同)。
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).