Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 49
  1. #31
    Join Date
    Jun 2016
    Location
    New York, NY
    Posts
    81
    Plugin Contributions
    0

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Ignore last comment about varchar(32) not showing as the transaction id. I have logged back into the server and now it shows. Odd. I will now enable STRICT_TRANS_TABLES, restart the database, run a transaction and see if I get the same error.

  2. #32
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Two things:

    Do you have multiple authorize.net modules enabled?

    The log you last posted only shows the request "sent" array, not the "response received".
    .

    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. #33
    Join Date
    Jun 2016
    Location
    New York, NY
    Posts
    81
    Plugin Contributions
    0

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Quote Originally Posted by DrByte View Post
    Two things:

    Do you have multiple authorize.net modules enabled?

    The log you last posted only shows the request "sent" array, not the "response received".
    Yes - just realized my error in pasting. Now with VARCHAR(32) and STRICT_TRANS_TABLES enabled the transaction goes through without error.
    Below is the full AIM_Debug.log from this successful transaction:
    Dec-28-2016 07:35:03
    =================================

    Response Code: 1.
    Response Text: This transaction has been approved.

    Sending to Authorizenet: Array
    (
    [x_login] => *******
    [x_tran_key] => *******
    [x_relay_response] => FALSE
    [x_delim_data] => TRUE
    [x_delim_char] => |
    [x_encap_char] => *
    [x_version] => 3.1
    [x_solution_id] => A1000003
    [x_method] => CC
    [x_amount] => 0.71
    [x_currency_code] => USD
    [x_market_type] => 0
    [x_card_num] => XXXXXXXXXXXXXXXX7510
    [x_exp_date] => ****
    [x_card_code] => ****
    [x_email_customer] => TRUE
    [x_email_merchant] => TRUE
    [x_cust_id] => 1
    [x_invoice_num] => 107-WbyAoy
    [x_first_name] => Harold
    [x_last_name] => Pinter
    [x_company] => Harold Pinter Movies
    [x_address] => 436 East 20th Street
    [x_city] => New York
    [x_state] => New York
    [x_zip] => 10024
    [x_country] => United States
    [x_phone] => xxxxxxxx
    [x_email] => [email protected]
    [x_ship_to_first_name] => Harold
    [x_ship_to_last_name] => Pinter
    [x_ship_to_address] => 436 East 20th Street
    [x_ship_to_city] => New York
    [x_ship_to_state] => New York
    [x_ship_to_zip] => 10024
    [x_ship_to_country] => United States
    [x_description] => Deli Pint 16oz (qty: 1)
    [x_recurring_billing] => NO
    [x_customer_ip] => 34.5.96.243
    [x_po_num] => Dec-28-2016 07:35:01
    [x_freight] => 0.00
    [x_tax_exempt] => FALSE
    [x_tax] => 0.06
    [x_duty] => 0
    [x_device_type] => 8
    [x_allow_partial_Auth] => FALSE
    [Date] => December 28, 2016, 7:35 pm
    [IP] => 34.5.96.243
    [Session] => ebfiga0n6qtbkvpioerldp8n95
    [x_type] => AUTH_CAPTURE
    [url] => https://secure2.authorize.net/gateway/transact.dll
    )


    Results Received back from Authorizenet: Array
    (
    [0] => Response from gateway
    [1] => 1
    [2] => 1
    [3] => 1
    [4] => This transaction has been approved.
    [5] => 033514
    [6] => Y
    [7] => 20333891394
    [8] => 107-WbyAoy
    [9] => Deli Pint 16oz (qty: 1)
    [10] => 0.71
    [11] => CC
    [12] => auth_capture
    [13] => 1
    [14] => Harold
    [15] => Pinter
    [16] => Harold Pinter Movies
    [17] => 436 East 20th Street
    [18] => New York
    [19] => New York
    [20] => 10024
    [21] => United States
    [22] => xxxxxxxxx
    [23] =>
    [24] => [email protected]
    [25] => Harold
    [26] => Pinter
    [27] =>
    [28] => 436 East 20th Street
    [29] => New York
    [30] => New York
    [31] => 10024
    [32] => United States
    [33] => 0.06
    [34] => 0.00
    [35] => 0.00
    [36] => FALSE
    [37] => Dec-28-2016 07:35:01
    [38] => 5F02AD93F165BEC6AADA6C207FAC9679
    [39] => M
    [40] =>
    [41] =>
    [42] =>
    [43] =>
    [44] =>
    [45] =>
    [46] =>
    [47] =>
    [48] =>
    [49] =>
    [50] =>
    [51] => XXXX7510
    [52] => Visa
    [53] =>
    [54] =>
    [55] =>
    [56] =>
    [57] =>
    [58] =>
    [59] =>
    [60] =>
    [61] =>
    [62] =>
    [63] =>
    [64] =>
    [65] =>
    [66] =>
    [67] =>
    [68] =>
    [69] => December 28, 2016, 7:35 pm
    [70] => 34.5.96.243
    [71] => ebfiga0n6qtbkvpioerldp8n95
    [72] => 04DA7F1E6340B3AE995D15BEB93F85EF5128359E58E747FB70903006B83900BBB01EB749F5B06D02 8D32B457031BF7F3765612B0F04530777A72D2474D83DE40
    [Expected-MD5-Hash] => 5F02AD93F165BEC6AADA6C207FAC9679
    [HashMatchStatus] => PASS
    )


    (*snip*)
    Last edited by DrByte; 28 Dec 2016 at 09:28 PM. Reason: removed raw unparsed data

  4. #34
    Join Date
    Jun 2016
    Location
    New York, NY
    Posts
    81
    Plugin Contributions
    0

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Quote Originally Posted by DrByte View Post
    Two things:

    Do you have multiple authorize.net modules enabled?

    The log you last posted only shows the request "sent" array, not the "response received".
    I posted a full reply but a notice appeared that it needed to be approved by a moderator. I have only one module of Authorizenet enabled - the AIM module. Also with varchar(32) and STRICT_TRANS_TABLE enabled the transaction goes through without error. I included the full authorize aim log in the post awaiting approval by your moderator. (My error in the previous post in pasting a partial log.)

  5. #35
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Curious. The transaction ID there is '20333891394'.
    .

    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. #36
    Join Date
    Jun 2016
    Location
    New York, NY
    Posts
    81
    Plugin Contributions
    0

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Quote Originally Posted by DrByte View Post
    Curious. The transaction ID there is '20333891394'.
    Excuse my ignorance - what does that signify?

    Apropos - I now seem to have a new problem. When I login to ZenCart Admin the Payment Modules are not listed. I get:

    Payment Modules
    WARNING: An Error occurred, please refresh the page and try again.
    Modules Sort Order Orders Status Action

    Refreshing the browser, deleting the cache, logging in and out of the desktop does not help. The files are all there on the server and the permissions have not changed. I do not see that editing a couple of lines in one file would cause this. Any idea?

  7. #37
    Join Date
    Jun 2016
    Location
    New York, NY
    Posts
    81
    Plugin Contributions
    0

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Quote Originally Posted by SPython View Post
    Excuse my ignorance - what does that signify?

    Apropos - I now seem to have a new problem. When I login to ZenCart Admin the Payment Modules are not listed. I get:

    Payment Modules
    WARNING: An Error occurred, please refresh the page and try again.
    Modules Sort Order Orders Status Action

    Refreshing the browser, deleting the cache, logging in and out of the desktop does not help. The files are all there on the server and the permissions have not changed. I do not see that editing a couple of lines in one file would cause this. Any idea?
    This appears to have been resolved by restarting mariadb

  8. #38
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Quote Originally Posted by SPython View Post
    Quote Originally Posted by DrByte View Post
    Curious. The transaction ID there is '20333891394'.
    Excuse my ignorance - what does that signify?
    Given that the module is getting a transaction ID back from Authnet, it doesn't make sense why it's trying to insert a blank transaction id into the database as your SQL errors are showing.
    .

    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.

  9. #39
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,711
    Plugin Contributions
    11

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    Quote Originally Posted by SPython View Post
    I do not know how I can state any clearer (please read above) that I DID make those changes to the script to the letter and also rebooted the server to ensure everything was loaded afresh. Then I ran a few transactions and still got the same error. Why do you persist in your disbelief?

    some posts later:

    Yes - just realized my error in pasting. Now with VARCHAR(32) and STRICT_TRANS_TABLES enabled the transaction goes through without error.
    Below is the full AIM_Debug.log from this successful transaction:
    i am glad to see you have resolved this error.

    to answer your question from many posts ago, i persisted in my belief because you can not have an invalid integer error when inserting a value into a field of type varchar.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #40
    Join Date
    Jun 2016
    Location
    New York, NY
    Posts
    81
    Plugin Contributions
    0

    Default Re: Checkout Process error Incorrect integer value: '' for column 'transaction_id'

    As I mentioned in one of the posts above the payment modules were missing after logging into Zencart Admin. The steps I took to resolve this was to replace the edited authorizenet_aim.php (varchar(32)) with the backup I had made of the original. I then restarted mariadb and logged into Zencart and the modules were listed. I then edited the file again with to replace bigint(20) with varchar(20) updated the module in Admin. I then looked at the table and still the transaction_id type is listed as bigint(20). Restarting mariadb or even rebooting the server does not resolve this and, of course, transactions throw an error with Strict enabled with bigint(20)

 

 
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. v153 Communications Error with Authorize.net (AIM)
    By ajhoover in forum Addon Payment Modules
    Replies: 6
    Last Post: 13 Nov 2014, 08:24 PM
  2. Replies: 2
    Last Post: 22 Jun 2013, 03:48 AM
  3. 1366 Incorrect integer value Problems with MySQL 5 strict-mode
    By Max70 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 13
    Last Post: 10 Dec 2009, 07:11 PM
  4. Replies: 4
    Last Post: 14 Jan 2009, 11:45 AM
  5. VAT error message (1366 Incorrect decimal value)
    By Typhoon in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 5
    Last Post: 18 Jul 2006, 11:32 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