How do I make a PayPal encrypted buy now button with custom fields?

Is there a way that my PHP code can generate an encrypted BuyNow button that also includes custom fields and also implements an IPN URL and redirect page?


You don't have to encrypt. Simply take the 'custom' variable, and, among other things you might need to put in there, add a hash of the price and product number, like so:

$sCustom .= '|' . md5($sSalt . $sProduct . $sPrice);

Then, when the IPN is processed, ensure that this hash was not disturbed with what is received back. If it was, then block the transaction.

in the encrypted buttons theres is one field called 'custom', you can serialize an array into it and it will be returned to your IPN :)

Need Your Help

How to select row in grid AFTER load grid?


Model.getSelectionModel().selectRow(0) not work ...

Toolbar items added/inserted into Ext.ToolBar aren't showing on the page

javascript extjs

I have a custom component that extends a panel. The panel has a top tool bar with a basic config. I want to be able to add items to the panel dynamically after it has been created.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.