the return URL is set on the checkout page in this code:
$WA_PP_ECO_Set_params[$nextIndex] = "ReturnURL";
$WA_PP_ECO_Set_params[$nextIndex] = "http://localhost/pp_confirm.php";
change the URL To the correct URL for the pp_confirm page.
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.