Dynamic Paypal button encryption

前端 未结 6 1441
日久生厌
日久生厌 2020-11-27 16:52

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 variab

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 17:32

    The only way you can do this is by dynamically querying PayPal to encrypt the button each time.

    However this method is not efficient, I think it would be much better to use PayPal IPN. There are many examples and classes online on how to do this.

提交回复
热议问题