diff --git a/ipn.php b/ipn.php index 2ffb09f..208b521 100644 --- a/ipn.php +++ b/ipn.php @@ -65,9 +65,9 @@ $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; - $txn_id = $_POST['txn_id']; - $receiver_email = $_POST['receiver_email']; - $payer_email = $_POST['payer_email']; + $txn_id = getValue($_POST['txn_id']); + $receiver_email = getValue($_POST['receiver_email']); + $payer_email = getValue($_POST['payer_email']); $custom = (int)$_POST['custom']; $connectedIp = $_SERVER['REMOTE_ADDR'];