Update ipn.php

This commit is contained in:
Stefan A. Brannfjell 2020-02-19 13:57:54 +01:00 committed by GitHub
parent cd971788cf
commit d7996c7d1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@
// Check that txn_id has not been previously processed // Check that txn_id has not been previously processed
$txn_id_check = mysql_select_single("SELECT `txn_id` FROM `znote_paypal` WHERE `txn_id`='$txn_id'"); $txn_id_check = mysql_select_single("SELECT `txn_id` FROM `znote_paypal` WHERE `txn_id`='$txn_id'");
if ($txn_id_check !== false) { if ($txn_id_check !== true) {
// Check that receiver_email is your Primary PayPal email // Check that receiver_email is your Primary PayPal email
if ($receiver_email == $paypal['email']) { if ($receiver_email == $paypal['email']) {