I have a "listener" site that receives IPN information from Buy Now buttons, parses the IPN script and write the bits that I want into a log.txt file. When I started recently to use add-to-cart buttons, I found that the IPN script was very different and had to be parsed differently. I expected to see something in the script that said the equivalent of "this is a cart button" but I didn't see it. The whole .VB routine looks a bit of a mess now and although it works OK I'd like to tidy it up by looking for some key item right at the start of the parsing routine. Has anyone got a neat way of doing this, please ?
... View more