ProtoNode A Social Programming Environment
Custom Payment Button Help
This tutorial will help you learn how to generate your own custom buttons on-the-fly for your customers.
Required arguemnts: user, amount
Optional arguments: msg, custom
The "msg" argument will be used as the description of the product in the user's shopping cart.
The "custom" argument will be added to the receipt and will be available to IPN scripts.
Generate ARGSTRING with: '&'.join(arglist) where arglist[i]=encodeURIComponent(argname[i]) + "=" + encodeURIComponent(argval[i])
The full url is generated like so: "$xfer$"+encodeURIComponent(ARGSTRING)
Note that you will need to call encodeURIComponent on the custom field if it contains any url characters such as: ?,&,=