Encrypting PHP variables/data in PayPal form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Encrypting PHP variables/data in PayPal form

Post by simonmlewis »

Hi.

I am using the standard PayPal buy button, and was going to encrypt it using PayPal's system, but the amount field will also be varied, so I have to use my variable.

And because of that, it can't be encrypted.

Has anyone come across this and found a straight forward solution?
I've found a few crypt() type scripts in PHP but I may be on a wild-goose chase when someone has found a better route to this.

Hope someone can help.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply