$val) {
// echo 'Field name : ' . $key . ' Value :' .$val .'
';
// }
if (($_POST['payment_status']=="Completed")){
echo "
SuccessThank you for your order.
...
";
echo "Processing your payment Information ..";
$bounce_to = $url."/home.php?m=billing&p=paid";
} else {
echo "Uh OHThere was a problem, Please contact Support
...
";
$bounce_to = $url."/home.php?m=billing&p=paid";
//we can setup a "failed page" to redirect to. My sandbox payments are not marked completed for some reason
}
?>