Phillip Senn
Phillip Senn

Reputation: 47595

Custom Paypal field on button

I need to include a custom field when PayPal notifies me of a payment. I'm trying to use the advanced variables, but I don't see a way that I can make them dynamic.

Pretend I have a field "xyzzy" with a value of "plugh". I would like PayPal to include form.xyzzy=plugh with all the other fields that it sends to my notify_url.

Of course, the value of xyzzy might be "foo", depending upon what they user wants.

Upvotes: 4

Views: 4521

Answers (1)

Robert
Robert

Reputation: 19356

There's only "custom": input type="hidden" name="custom" value="plugh"

This is returned in the IPN message as well.

Upvotes: 6

Related Questions