switch($action)
{
case "process": // case process insert the form data in DB and process to the paypal
$p->add_field('return', $return_url); // return URL after the transaction got over
}
当事务完成时,上面的$p->add_field
将页面收回到返回URL路径。我希望在$return_url
运行时发出警报。