PayPal IPN needs to be set to NO to work
I've just spent a couple of hours trying to make PayPal IPN work, I've just succeeded, and I thought I'd record what happened in case someone else has the same problem, in case there is a reason that I've completely missed, and also so I've recorded for myself in case I inadvertently alter it again
I had a test site set up and the IPN worked fine with PayPal sandbox.
I copied all the files and database to live yesterday and so far everything is fine except all the ads were not published after payment as required. The dashboard showed them as Awaiting Payment.
After trying all kinds of thing, different browsers, admin/non admin, etc, I went through every CP setting in test and live and compared them all to see if anything was different. Other than a few that have to be different, there was one that stood out. In the Test system, Classipress/Settings/Gateways Enable PayPal IPN: was set to N, in live I'd set it to Y. Once I set Enable PayPal IPN: to N, all works fine. The note on the help indicates that setting this to N means that if the customer doesn't click back to publish the ad it isn't published, but that's not what is happening, the minute the button to pay is clicked, it processes back to the website and the ad is published.
If I've misunderstood anything here, I'd be grateful if someone could tell me!