barry100 Posted April 25, 2006 Posted April 25, 2006 Hi all Is it possible to make the paypal ipn send what is in the comments box before the order is completed or paid, the problem im having is that although paypal is sending the order before the payment is made some times there is no comments being sent (i think because people are paying then not returning to the shop) so the comments are being lost in transit. Quote
strub Posted August 18, 2007 Posted August 18, 2007 Hi allIs it possible to make the paypal ipn send what is in the comments box before the order is completed or paid, the problem im having is that although paypal is sending the order before the payment is made some times there is no comments being sent (i think because people are paying then not returning to the shop) so the comments are being lost in transit. If you still need a solution for this I found it out how the comments are being sent to admin before getting linked to paypal. Quote
strub Posted August 18, 2007 Posted August 18, 2007 If you still need a solution for this I found it out how the comments are being sent to admin before getting linked to paypal. Here is the solution: in paypal_ipn.php on line about 128 after tep_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array); $order_products_id = tep_db_insert_id(); fill in this $customer_notification = (SEND_EMAILS == 'true') ? '1' : '0'; $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => $order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); Best Wishes Strub Quote
Chazbot72 Posted February 5, 2008 Posted February 5, 2008 Here is the solution: in paypal_ipn.php on line about 128 after tep_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array); $order_products_id = tep_db_insert_id(); fill in this $customer_notification = (SEND_EMAILS == 'true') ? '1' : '0'; $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => $order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); Best Wishes Strub I was having the same problem and just put this fix on my site - it works great! THANKS!!! Quote The tomb could not hold God's Son...but your heart can
none_uk Posted February 25, 2008 Posted February 25, 2008 I was having the same problem and just put this fix on my site - it works great! THANKS!!! Hi can you explain what problem this fixed exactly? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.