• Resolved tyankee

    (@tyankee)


    We haven’t been getting orders via Square for almost 2 months. All orders were being paid via PayPal. I just found out the reason why by activating the settings to record errors and i tested it with an order. This is the error i get when trying ANY valid credit card:

    07-18-2019 @ 15:56:47 – Info: Begin processing payment for order 154194 for the amount of 18.15
    07-18-2019 @ 15:56:47 – Error: Array
    (
    [0] => stdClass Object
    (
    [category] => AUTHENTICATION_ERROR
    [code] => UNAUTHORIZED
    [detail] => This request could not be authorized.
    )

    )

    This happens to matter what credit card is used.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @tyankee!

    That error usually means that your API keys are incorrect and that WooCommerce can’t connect to your payment gateway. Please double check those API keys. If those keys are correct, then please head over to your wp-admin/admin.php?page=wc-settings&tab=integration page, then disconnect and reconnect Square, to see if that resolves the issue.

    If you’ve tried that with no success, then please go to your “WooCommerce > Status > Logs” page, click on the drop-down to get the error log for Square (if debug has been enabled), and paste the log entries back here so we can take a closer look. If debug has not been enabled, please do so from the Square settings page, have another go through your checkout process, and then have a look at that log and send us the entries so we can investigate further, thanks.

    Cheers!

    Thread Starter tyankee

    (@tyankee)

    thank you. disconnecting and reconnecting fixed the problem. why would it have become disconnected in the first place??

    Thread Starter tyankee

    (@tyankee)

    btw, where would i find the API keys??

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Square declining all orders’ is closed to new replies.