• Hi,

    In our checkout customers are getting the error message “Could not validate the order. Please try again”. Is there any logs that we can use to investigate this? Or do you have any idea of what may be causing this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • We have the exact same thing.
    WordPress: 6.1.1
    PHP: 7.4.33
    Woocommerce: 7.3.0
    Svea Checkout for WooCommerce: 2.0.0?

    I turned on the logging function in the setup for svea. Next thing is to find out where that logfile is located. ??

    Plugin Author The Generation

    (@thegeneration)

    Hi,

    We recently released 2.0 of the plugin which is a big update of the plugin. If you enable logging (WooCommerce > Settings > Payments > Svea Checkout > Enable logging) and try to make a purchase, does anything appear in the logs then?

    The logs can be accessed at WooCommerce > Status > Logs > svea_checkout_[date]

    You can also try to update the plugin to 2.0.1 which we released today which could help with all kinds of plugin conflicts.

    Best regards

    Did not work (plugin version 2.0.0):

    01-13-2023 @ 12:22:24 - Push callback. Created order. 45636
    01-13-2023 @ 12:30:44 - Syncing admin edited order item to Svea.
    01-13-2023 @ 12:30:44 - Trying to get with admin checkout client.
    01-13-2023 @ 12:30:45 - Syncing admin edited order item to Svea.
    01-13-2023 @ 12:30:45 - Order 39674682 (ID: 45526, Order number: 45526) could not be updated (missing CanUpdateOrderRow in actions). Aborting
    01-13-2023 @ 12:30:45 - Order 39674682 (ID: 45526, Order number: 45526) could not be updated (missing CanUpdateOrderRow in actions). Aborting
    01-13-2023 @ 12:30:51 - Getting order 39674682 for updating with admin client
    01-13-2023 @ 12:30:51 - Order 39674682 (ID: 45526, Order number: 45526) could not be updated (missing CanUpdateOrderRow in actions). Aborting
    01-13-2023 @ 12:30:51 - Order 39674682 (ID: 45526, Order number: 45526) could not be updated (missing CanUpdateOrderRow in actions). Aborting
    01-13-2023 @ 12:30:51 - Order 39674682 (ID: 45526, Order number: 45526) could not be updated (missing CanUpdateOrderRow in actions). Aborting
    

    Worked (plugin version 2.0.1):

    01-13-2023 @ 14:22:26 - Push callback. Created order. 45648
    01-13-2023 @ 14:25:47 - Validation callback for Svea order ID (41126497) received
    01-13-2023 @ 14:25:47 - Processing checkout for Svea Order ID: 41126497
    01-13-2023 @ 14:25:48 - Validation callback successfully made for order #45648 (ID: 45648)
    01-13-2023 @ 14:25:48 - Sending validation response: array (
      'Valid' => true,
      'Message' => '',
      'ClientOrderNumber' => '45648_2',
    )
    01-13-2023 @ 14:25:48 - Output buffer at checkout catched the following: 'nono'
    01-13-2023 @ 14:26:14 - Syncing order rows. Order ID: 45648
    01-13-2023 @ 14:26:14 - Push callback. Finalizing order. 45648

    I also made some other adjustments (turning off other – possibly conflicting – plugins) so I’ll turn those on one by one and give more feedback.

    Let me know if you need any additional information, but your version 2.0.1 seems to have fixed the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Could not validate the order. Please try again’ is closed to new replies.