"R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.com> wrote in message
news:1118246659.112660.322330@o13g2000cwo.googlegr oups.com...[color=blue]
> Jim Evans wrote:[color=green]
>> I'm building a shopping cart that ties in with PayPal for payments.
>> After working out the postage charge, I want the user to be able to
>> confirm if they'll sign up to a newsletter or not, and then to be taken
>> to Paypal. I'd like to do all that with just one click.[/color]
>[color=green]
>> Paypal only lets you pass one hidden variable, and I need that to
>> identify the customer in the back end stuff, so I can't check on the
>> newsletter thing after payment.[/color]
> <snip>
>
> I seriously doubt only one variable claim. Is it PayPal Single Item
> Purchase system?? Also, you can use
http://www.php.net/serialize
> function to send serialized variables in single variable.[/color]
PayPal limits the number of variables that get passed back to your IPN
script. You can pass PayPal as many variables as you want, they won't come
out the other end.
Jim -
I recall having a similar situation once, where I needed more information in
the IPN script than was available to be passed through the PayPal processing
system. What I did to solve this was I stored the ALL of the necessary data
in a simple text file and passed the file name as the variable to PayPal.
Then, the IPN script retrieved the data from the file, using the file name
that PayPal passed back to it.
That's the best I can offer - hope it helps!