Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    When I login to my admin it says: Your version of Zen Cart™ appears to be current.
    MonkFunk Music Community
    Free Music Website

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

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    And if you click the "Version Info" link beside the logout link in the top right of your admin panel, what version info does it give you?
    .

    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. #13

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    Zen Cart 1.3.8a
    MonkFunk Music Community
    Free Music Website

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

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    If that's the case, then you've done something to break one or more of the paypal-related files under your /includes/modules/payment folder and subfolders.
    Time to compare them all and fix whatever differences exist.
    .

    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.

  5. #15

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    when I put the code back to the original everything works fine, but we still are getting these double orders... only sometimes...
    MonkFunk Music Community
    Free Music Website

  6. #16
    Join Date
    Jul 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    does anyone know what the function datetime_to_sql_format does? this is not a mysql function from what i can tell.

    i too am getting the error stated at the start of this thread -- and when i implement the code to fix it i get a blank screen.

    i think this is because the function datetime_to_sql_format is not defined however i may be wrong. Please advise.

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

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    Your blank screen will be a result of an incorrect edit, perhaps even by leaving extra blank lines at the end of the file.
    Related FAQ (posted earlier in this discussion for the same reason): https://www.zen-cart.com/tutorials/index.php?article=82
    .

    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
    Jul 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    Quote Originally Posted by DrByte View Post
    Your blank screen will be a result of an incorrect edit, perhaps even by leaving extra blank lines at the end of the file.
    Related FAQ (posted earlier in this discussion for the same reason): https://www.zen-cart.com/tutorials/index.php?article=82
    i forgot i already had error reporting enabled, and the error is as i suspected undefined function, please see below.


    undefined method paypal::datetime_to_sql_format() in E:\Website_data\tw2_test\includes\modules\payment\paypal.php on line 413

    line 413 is that new line i added...
    Code:
    'payment_date' => $this->datetime_to_sql_format($this->pdtData['payment_date']),

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

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    That function is defined in /includes/modules/payment/paypal/paypal_functions.php
    If it's missing from yours, then you've got a very old version of the file or you've got addons/customizations which have broken core functionality.
    .

    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.

  10. #20
    Join Date
    Jul 2009
    Posts
    71
    Plugin Contributions
    0

    Default Re: PayPal IPN - 1292 Incorrect datetime value

    Quote Originally Posted by DrByte View Post
    That function is defined in /includes/modules/payment/paypal/paypal_functions.php
    If it's missing from yours, then you've got a very old version of the file or you've got addons/customizations which have broken core functionality.
    i have that function in there... but same error... i resorted to turning off strict mode which fixed the problem but now i have to ensure it did not create other problems.

    forum.mambo-foundation.org/showthread.php?t=5254

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 14 Jan 2009, 11:45 AM
  2. PayPal IPN Order Total Incorrect v1.3.7.1 with addons
    By colin270 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 5 Aug 2008, 04:43 PM
  3. PayPal error: 1292 Incorrect datetime value: '00:13:47 09 2008' for column
    By directprint in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 11 Jul 2008, 08:47 AM
  4. PayPal IPN: Incorrect billing info passed over
    By Ked in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 6 Nov 2007, 04:49 PM
  5. I'm using PayPal Express and PayPal IPN, should I remove PayPal IPN?
    By tj1 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 3 Nov 2007, 05:20 AM

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