Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically encrypt a PayPal "pay now" button.

Status
Not open for further replies.

irbk

MIS
Oct 20, 2004
578
US
I have a custom shopping cart on my website. I transfer the payment information to paypal using a modified "individual item details" method as described on page 82 of the PayPal "Website Payments Standard Integration Guide". I've recently learned that this "pay now" button that I have on my website is unencrypted. This means that some one could easily view the source code of my page, edit the pricing information, and submit the incorrect information to paypal. I've looked at the "Encrypted Website Payments" section of the "Website Payments Standard Integration Guide" and by following the guide I've created my private and public keys, uploaded my public key to paypal and downloaded paypals public key. Here is my issue. The "Encryption your HTML" section of the integration guide says to download a program, prepare an input file for each encrypted button you want to create, run the encryption program, and copy the encrypted code to the website. As my paypal "Pay Now" button code is dynamically generated by PHP when the user clicks into his/her shopping cart, how am I supposed to encrypt that "Pay Now" button code?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top