different set of IPN variables?
Posted 25 November 2002 - 05:30 PM
I am expecting a option_name1 in the globals but when the scripts finishes it doesn't have this variable in the globals. I know this because when paypal send sthe info it is emailed to me and each one is different.
Posted 26 November 2002 - 01:46 PM
Another explaination for the behavior that you are encountering is that with a subscription or shopping cart payment, PayPal will not POST to your return URL unless you set the form variable "rm" to "2". If you set the return URL to the location of your script, and "rm" is not set to "2", the buyer will be redirected to that location and no variables will be passed causing your script to run with NULL values.
Posted 26 November 2002 - 06:40 PM
when the post "subscr_signup" gets sent that is teh one that carries my renew variable, but as it is a signup, it doesn't get processed until the Completed is sent. why is that? I try to capture this variable but it is empty when the second POST come in, hence my new member everytime
Posted 29 November 2002 - 04:34 PM
the manula is really confusing and deosn't say anything about if you use one you have to use the other. so is the on0 a lable and the os0 is the value??
then why does the option_name1 get sent correctly and then it is empty the second time? why add more code that is redundant??
thanks I will add it but nowhere in the manual does it say that I need it.
Posted 30 November 2002 - 04:43 AM
The "on" is the option name with the "os" being the option selection so if I was selling a pair of socks on my site I would need to know the "on" = size and the "os" = user selectable. I may also need to know the color which is where the second one can be used. The whole purpose of these values is so we don't have to have 500 payment buttons for the same item in various sizes and colors.
Having a "on" without a "os" is illogical because what's the point of having the option name without a selection? That's the same as a key without a value so if you do need to use these then make sure you send them both as a pair ;-)
Posted 30 November 2002 - 10:12 AM
all I have to say is that the manual is not geared toward newbies as you have to read in between the lines and most newbies don't realize that.
but if it wasn't for this wonderful forum then we wouldn't go anywhere :-)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users