Around line 70 or so of /includes/modules/payment/paypal/paypal_functions.php you'll find this code. Add the highlighted code as shown:Code:$sql = "SELECT order_id, paypal_ipn_id, payment_status, txn_type, pending_reason FROM " . TABLE_PAYPAL . " WHERE txn_id = :transactionID OR invoice = :transactionID ORDER BY order_id DESC LIMIT 1 ";
Bookmarks