Skip to content

Commit

Permalink
Merge zencart#1320 - Handle mysql strict typing issue with legacy Pay…
Browse files Browse the repository at this point in the history
…Pal IPN insert
  • Loading branch information
drbyte committed Oct 20, 2016
1 parent c4899c0 commit b6bc0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/modules/payment/paypal/paypal_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ function ipn_update_orders_status_and_history($ordersID, $new_status = 1, $txn_t
'orders_status_id' => (int)$new_status,
'date_added' => 'now()',
'comments' => 'PayPal status: ' . $_POST['payment_status'] . ' ' . ' @ ' . $_POST['payment_date'] . (($_POST['parent_txn_id'] !='') ? "\n" . ' Parent Trans ID:' . $_POST['parent_txn_id'] : '') . "\n" . ' Trans ID:' . $_POST['txn_id'] . "\n" . ' Amount: ' . $_POST['mc_gross'] . ' ' . $_POST['mc_currency'],
'customer_notified' => false
'customer_notified' => (int)false,
);
zen_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);
ipn_debug_email('IPN NOTICE :: Update complete.');
Expand Down

0 comments on commit b6bc0ed

Please sign in to comment.