Jump to content

Paypal Variables


techker

Recommended Posts

Hey guys when i create a button in step 3 click the box add variables..

 

so i tried different formats:

 

UserId=1

 

 

 

or even html and when i generate the code i don't see it?

 

 

 

and once this works how do i see the value?when the clients pays it will send me the value?

 

 

Link to comment
Share on other sites

Are you talking about the thing to generate form code for you? Apparently they are key=value, like Userid=1. But those are for PayPal options, not custom data.

 

IIRC if you want custom data then you need the "custom" variable. Like

custom=1
You'd get the "1" later as the custom value, which you assume will be the Userid. You can be fancier - more secure - than that, if you want.
Link to comment
Share on other sites

Again, you get it the same way you get everything from PayPal. Are you not already doing that? IPN? API call?

 

Either

a) You're sending data to PayPal and getting it back, in which case you can get the custom value, or

b) You're sending data to PayPal and not getting it back, in which case the custom value is irrelevant because you're not getting it back

Link to comment
Share on other sites

"custom" is for when you want to receive custom data from PayPal regarding the transaction. It's typically like the user ID and used by the originating site to grant access to whatever the user bought or signed up for. If you aren't receiving the transaction data back from PayPal then you don't need it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.