Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Oct 2016
    Location
    Virginia
    Posts
    12
    Plugin Contributions
    0

    Default Re: Data truncated for column 'transaction_id' at row 1

    eproccesing authorize net emulator. That is the format that has always come back from them. I went back a year in another cart and see the same returns. The database has been truncating it all the while with no complaints.

  2. #12
    Join Date
    Oct 2016
    Location
    Virginia
    Posts
    12
    Plugin Contributions
    0

    Default Re: Data truncated for column 'transaction_id' at row 1

    Quote Originally Posted by mc12345678 View Post
    Umm, another observation: ZC 1.5.1 and PHP 5.6???
    Is there some issue with that combo?

  3. #13
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Data truncated for column 'transaction_id' at row 1

    it still makes no sense.

    i have no idea what this eprocessing emulator is. and whether it is modifying the field.

    if it has been truncated as you say all this time, how could you possibly issue a void or a refund? you do not have the complete id therefore authorize.net should error out when you send the truncated id.

    this problem is solvable. try issuing a void with the full id v the truncated id. let's look at the responses.

    finally if you login to your authorize.net dashboard you should be able to view your transactions. what is the value of the id there?

    good luck.

  4. #14
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Data truncated for column 'transaction_id' at row 1

    Quote Originally Posted by IMMQ View Post
    Is there some issue with that combo?
    Server requirements

    Thing is, supposedly there would be one or more problems before getting to this checkout stage, so there may have already been some assumptions made that the store has been modified sufficiently to work with PHP 5.6...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #15
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Data truncated for column 'transaction_id' at row 1

    Quote Originally Posted by IMMQ View Post
    eproccesing authorize net emulator.
    Okay, so your AIM module isn't actually using the Authorize.net spec. It's connecting to the E-Processing gateway, which is emulating AIM, but with its own alterations, which don't totally adhere to the actual AIM specification.
    Lovely.

    So, ya, because of how your gateway works, you'll need to change your authorizenet_aim module to not force it to be a bigint(20) field. Something like varchar(32) as was suggested earlier would do.

    (And for the sake of future posts, it would help to have known you were using e-processing instead of actual Authorize.net.)
    .

    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.

  6. #16
    Join Date
    Oct 2016
    Location
    Virginia
    Posts
    12
    Plugin Contributions
    0

    Default Re: Data truncated for column 'transaction_id' at row 1

    Quote Originally Posted by DrByte View Post
    Okay, so your AIM module isn't actually using the Authorize.net spec. It's connecting to the E-Processing gateway, which is emulating AIM, but with its own alterations, which don't totally adhere to the actual AIM specification.
    Lovely.

    So, ya, because of how your gateway works, you'll need to change your authorizenet_aim module to not force it to be a bigint(20) field. Something like varchar(32) as was suggested earlier would do.

    (And for the sake of future posts, it would help to have known you were using e-processing instead of actual Authorize.net.)
    What is nuts is that this has worked fine for several years. Godaddy's choice to not put TLS 1.2 on their classic hosting servers means a lot of work still for me.

    Sorry about that, too close to the problem and forgot that tidbit about eprocessing.

    Thanks for all the help. For now storage is off until I can track down everything that touches that field as bigint. At least when I move over the big store I will know exactly what has to be modded.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Data truncated for column 'transaction_id' at row 1

    Quote Originally Posted by IMMQ View Post
    For now storage is off until I can track down everything that touches that field as bigint.
    Just that one section that carlwhat mentioned earlier.

    Code:
      function tableCheckup() {
        global $db, $sniffer;
        $fieldOkay1 = (method_exists($sniffer, 'field_type')) ? $sniffer->field_type(TABLE_AUTHORIZENET, 'transaction_id', 'bigint(20)', true) : -1;
        if ($fieldOkay1 !== true) {
          $db->Execute("ALTER TABLE " . TABLE_AUTHORIZENET . " CHANGE transaction_id transaction_id bigint(20) default NULL");
        }
      }
    change both "bigint(20)" to "varchar(32)"
    .

    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.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Data truncated for column 'transaction_id' at row 1

    Quote Originally Posted by DrByte View Post
    Just that one section that carlwhat mentioned earlier.

    Code:
      function tableCheckup() {
        global $db, $sniffer;
        $fieldOkay1 = (method_exists($sniffer, 'field_type')) ? $sniffer->field_type(TABLE_AUTHORIZENET, 'transaction_id', 'bigint(20)', true) : -1;
        if ($fieldOkay1 !== true) {
          $db->Execute("ALTER TABLE " . TABLE_AUTHORIZENET . " CHANGE transaction_id transaction_id bigint(20) default NULL");
        }
      }
    change both "bigint(20)" to "varchar(32)"
    FYI: this change is built-in to v1.5.5d, released yesterday.
    .

    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 4 column shows 3 in first row and 1 in 2nd row
    By papacraig in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Feb 2012, 04:09 AM
  2. row column layout for New Product listing
    By JohnBoyCR in forum General Questions
    Replies: 1
    Last Post: 6 Mar 2010, 01:03 AM
  3. 1264 Out of range value adjusted for column '2co_order_id' at row 1
    By tweakservers in forum Addon Payment Modules
    Replies: 0
    Last Post: 15 Sep 2008, 05:59 PM
  4. 1406 Data too long for column "last_page_url" at row 1
    By time4fishing in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 11 Jan 2008, 01:00 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