• Resolved myhreco

    (@myhreco)


    I’m having the same problem with payments not working that somebody else was having, but reading the other thread, none of the resolutions worked or applied. Square payments aren’t going through – full error message is below.

    All requirements are good on my system – SQL 5.6, PHP 7.0, I tried linking and unlinking to square and nothing has worked.

    ERROR MESSAGE:

    Array
    (
    [0] => stdClass Object
    (
    [category] => AUTHENTICATION_ERROR
    [code] => UNAUTHORIZED
    [detail] => This request could not be authorized.
    )
    )
    Order status changed from Pending payment to Failed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi there,

    You mentioned unlinking/linking the Square account – was this just within the plugin settings? Could you also try disconnecting the actual plugin and reactivating it to see if it helps?

    Could you also copy/paste your system status report?

    Thread Starter myhreco

    (@myhreco)

    Hi,

    I just tried deactivating and reactivating the Square plugin and it didn’t change anything. I turned on error logging during this last test, and below is what the error log is showing. Will get system report too if below doesn’t help.

    2018-02-22T15:55:15+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Square_Sync_To_Square::sync_inventory() must be an instance of WC_Product, boolean given, called in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php on line 287 and defined in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square.php:221
    Stack trace:
    #0 /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php(287): WC_Square_Sync_To_Square->sync_inventory(false)
    #1 /home/micheles/public_html/wp-includes/class-wp-hook.php(300): WC_Square_Sync_To_Square_WordPress_Hooks->on_variation_set_stock(Object(WC_Product_Variation))
    #2 /home/micheles/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
    #3 /home/micheles/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #4 /home/micheles/public_html/wp-cron.php(117): do_action_ref_array(‘wc_square_on_va…’

    2018-02-23T06:13:04+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Square_Sync_To_Square::sync_inventory() must be an instance of WC_Product, boolean given, called in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php on line 287 and defined in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square.php:221
    Stack trace:
    #0 /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php(287): WC_Square_Sync_To_Square->sync_inventory(false)
    #1 /home/micheles/public_html/wp-includes/class-wp-hook.php(300): WC_Square_Sync_To_Square_WordPress_Hooks->on_variation_set_stock(Object(WC_Product_Variation))
    #2 /home/micheles/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
    #3 /home/micheles/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #4 /home/micheles/public_html/wp-cron.php(117): do_action_ref_array(‘wc_square_on_va…’

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @myhreco

    That doesn’t look good, were you able to resolve this? Can you confirm you’re on the latest version of the extension, 1.0.29, please?

    Have you reached out to us at WooCommerce.com about this? We can help with Square queries there.

    Thanks,

    Thread Starter myhreco

    (@myhreco)

    Hi – no, it hasn’t been resolved yet. We just started using the PayPal plugin instead of Square for now. I checked and yes, I’ve been testing using the latest Ver. 1.0.29 of the plugin. Where on WooCommerce.com would I submit a question about this plugin – in the support ticket section?

    Thanks for any info.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi again @myhreco

    Okay, if you head to WooCommerce.com, you can submit a ticket via https://woocommerce.com/my-account/create-a-ticket/

    If you don’t have the option to select Square from the WooCommercee Extensions menu then please “purchase” the extension for free on the site, and you’ll then have that option – https://www.woocommerce.com/products/square/

    Please be sure to include details and a system status report when you do.

    Thanks,

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @myhreco

    Did you get a ticket to us for help with the problem?

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, please let us know.

    Thanks,

    Thread Starter myhreco

    (@myhreco)

    Yes, I moved my question over to a WooCommerce support ticket. Problem is resolved, but I have no idea how it happened. I just deleted and reinstalled the plugin 3 or 4 times, and then it suddenly was working. So, I have no solutions for other people to try if they have this issue, but I’m all set now. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Payments not working – AUTHENTICATION_ERROR’ is closed to new replies.