Web Hosting Talk







View Full Version : paypal variables


maxwello
03-31-2002, 04:55 PM
I remember reading somewhere about paypal passing variables / transaction info to your return (/thank you) page. But I've looked on the paypal site and else where and can't find anything.

Anybody know how to do this?

I want to take some info from after the transaction is completed and the user is sent to my return url, and do various things with it. I've looked at the IPN stuff, but that doesn't seem like what I want.

I know I saw something about transaction details being passed to the return url, and that's all I want to do (grab trans id, or name, etc.)

Thanks

webx
03-31-2002, 04:58 PM
What you are looking for is IPN. You should better check again the IPN details. It contains the variables that are sent to your script/cgi.

maxwello
03-31-2002, 05:02 PM
Yeah, I've read all about the IPN variables. But those are sent to the IPN script, not the return url. (EDIT: At least, if they are also sent to the return url, which is what I originally thought, it doesn't seem to be working) I don't want to do things as complicated as with IPN, I just want to grab a transaction id after the transaction is completed and the user is redirected to my return url.

maxwello
03-31-2002, 06:39 PM
Ok, mystery solved.

It does, infact, pass the IPN transaction variables to the return url... but, only if it is a standard web accept (single item purchase). Apparently it does not work with subscription payments.... Anybody have any idea why?

anantatman
04-02-2002, 06:28 PM
i could have sworn to reading that subscriptions also allow for IPN.. check http://paypal.com/pdn