Worked it out.
The problem was in the ReturnURL
I had set my htaccess file to redirect all non-www URLs to www
i needed to change the ReturnURL (and CancelURL) in confirm.php, otherwise paypal was not redirecting properly
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.