There appeared to be a lot of problems with pp_confirm.php. Mostly repeated code and code in the wrong order. Some of the code seemed to be copied from the confirm.php page and had the wrong syntax.
Your email also didn't work, so I updated it to the latest version of our email extension, which I noticed you had used on the confirm.php page. It should all be working properly now. Make sure to download the updated pp_confirm.php page.