动态贝宝按钮加密 [英] Dynamic Paypal button encryption

查看:94
本文介绍了动态贝宝按钮加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PHP&设计一个订购网站. MySQL的.在最后阶段,将为用户提供Paypal按钮,以支付他所下的订单.因此,项目名称,值是变量. 这些值是变量,我不能使用Paypal的加密按钮.在显示给用户之前,我必须使用未加密的按钮或对其进行加密.

I'm designing a Order Site using PHP & Mysql. In the final stage the user is given Paypal buttons to pay for the Orders he has made. So, the Item Name, Value are variables. These values being variables, I cannot use an encrypted button from Paypal. I'll have to use either a non-encrypted button or encrypt it before showing it to the user.

出于安全原因,我希望对其进行加密.我想知道如何在服务器上做到这一点.

I wish to encrypt it for security reasons. I would like to know how to do it on my server.

推荐答案

也许您可以尝试将这些变量放入具有唯一ID的临时表中.然后使用该ID作为按钮.每当客户单击贝宝按钮时,就从表中查询变量.我只是希望我能正确理解您的陈述xD

maybe you could try putting those variables in a temporary table with a unique id. then use that id for the buttons. querying the variables from the table whenever the customer clicks the paypal buttons. I just hope i understood your statement right xD

这篇关于动态贝宝按钮加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆