Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default Re: Paypal Refund Callback Problem after server move

    Something on the new server is not treating false as 0.

    PHP Code:
     'customer_notified' => false 
    The sql input statement is created here in paypal_functions.php:

    PHP Code:

    $sql_data_array 
    = array('orders_id' => (int)$ordersID,
                                
    '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 

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Paypal Refund Callback Problem after server move

    You're probably using a version of MySQL newer than what your version of Zen Cart was originally designed for.
    I imagine you need the following change to deal with that last error message: https://github.com/zencart/zencart/pull/1320/files

    ... and will probably benefit from other upgrades to support the stricter implementation of newer versions of MySQL.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default Re: Paypal Refund Callback Problem after server move

    Looks like the mysql version on the new server is 5.6 vs 5.5 and the sql mode of the new server is

    -> STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

    I will implement the fix and post if any other issues occur.

    Thanks Dr B and MC

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h after move server why clients can't pay by paypal ?
    By dmagic in forum General Questions
    Replies: 6
    Last Post: 27 Mar 2014, 10:31 PM
  2. Problem after New Server Move
    By wezza in forum General Questions
    Replies: 1
    Last Post: 28 Dec 2009, 09:27 AM
  3. Paypal broken after server move
    By Kayla in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 6 Aug 2008, 06:13 AM
  4. Curl problem after a server move:
    By mommydesigns in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 10 Jun 2007, 04:24 PM
  5. Problem after cart move to new server.
    By ragemoto in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 30 Mar 2007, 06:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg