Page 1 of 1

PayPal IPN custom field

Posted: Fri Jan 11, 2008 10:09 am
by s.dot
Hey, I've got my IPN scripting all ready to go. Tested without a custom field in there. I need to pass a username custom field to update the database accordingly. How would I go about setting it up in the form? Would it be as easy as..

Code: Select all

<input type="hidden" name="username" value="scottayy">
If so, how does paypal post it back to my IPN script?

In $_POST['username'] ?

I'm hoping someone has dealt with this before. I've read the documentation but they're using fields like on0 and os0 for the custom fields, and I'm not sure how that posts to my IPN script.

I'd use the sandbox, but for the past few days it's just unaccessable to me. (slowwww loading times)

Re: PayPal IPN custom field

Posted: Fri Jan 11, 2008 10:24 am
by Inkyskin
I'm not sure about those os1, on1 fields, but I think you can have a field called "custom" which will be returned as "custom" to the IPN.

Re: PayPal IPN custom field

Posted: Fri Jan 11, 2008 10:47 am
by s.dot
thank you, that worked perfectly