Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: PPEC Patches

    Not sure if anyone encounter this, but when I used the paypal express, after checkout process finish, and we are ready to insert the order into database
    TABLE_ORDERS_STATUS_HISTORY, I got an error about invalid value is being set
    for 'customer_notified' field.

    Further investigation told me that

    In paypalwpp.php
    I saw the following statement to set the 'customer_notified'
    'customer_notified' => false

    In my case this is setting 'customer_notified' to '' for some reason.
    I need to set
    'customer_notified' => '0'

    then the paypal express worked.

    I am using MySQL 5.0.18-nt, not sure if that has something to do with this.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SQL error on customer_notified field

    Yes, that's likely a result of your MySQL version enforcing data-type strictness.

    Feel free to change the 'false' to '0'.
    .

    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
    Mar 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: SQL error on customer_notified field

    Thanks Dr. Byte,

    If that is indeed caused by my version of MySQL, I would suggest making this changes from false to '0' even for your version. Cause setting it to '0' will work for other version of MySQL too.

    Thanks again for confirming that.

    Ettendu

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SQL error on customer_notified field

    Yes -- it's already been done for future release. Thanks for pointing it out.
    .

    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.

 

 

Similar Threads

  1. Replies: 18
    Last Post: 30 Sep 2015, 07:27 AM
  2. v139h DB/SQL Error when using SQL Patch for Add Pages More Info Sidebox addon
    By maperr55 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 5 Mar 2012, 09:32 PM
  3. Replies: 1
    Last Post: 25 Aug 2011, 05:58 AM
  4. Field format error: 10731-The field Shipping Address Country
    By infocom in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 27 May 2008, 10:30 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR