Hello... I'm trying to use the Google IPN process to capture transactions from google checkout and it requires that I catch the value of a variable named serial-number on the url they send to my action page.
When I try to code the page to set the variable it fails stating no variable exists in the URL by that name...
The code looks like this... <CFSET sn= #URL.serial-number#>
The Error message looks like this... Element SERIAL is undefined in URL
It appears CF is trying to interpret serial-number as a numeric value and subtract the value of number from serial? I tried #DE(URL.serial-number)# without success.
Just to explain the error you are receiving, CF is reading #URL.serial-number# as an expression, not as a variable. CF is expecting to subtract url.serial minus number to come up with a quotient.
Or in code-speak: <cfset url.serial = 4> <cfset number = 2> <cfoutput>#url.serial-number#</cfoutput>
So when you reference url.serial-number, to CF that variable doesn't exists unless you give CF more details which is what is being done with cfSearchin post.