• Resolved dme012

    (@dme012)


    Hi,

    I am getting an error with user getting failed orders.

    Here’s the log:
    04-26-2020 @ 15:12:52 – Response
    code: 404
    message:
    headers: Array
    (
    [0] => HTTP/1.1 404 Not Found
    [Content-Type] => application/json
    [Square-Version] => 2019-08-14
    [Vary] => Origin, Accept-Encoding
    [X-Content-Type-Options] => nosniff
    [X-Download-Options] => noopen
    [X-Frame-Options] => SAMEORIGIN
    [X-Permitted-Cross-Domain-Policies] => none
    [X-Xss-Protection] => 1; mode=block
    [Date] => Sun, 26 Apr 2020 21:12:52 GMT
    [Content-Length] => 136
    [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [category] => INVALID_REQUEST_ERROR
    [code] => NOT_FOUND
    [detail] => Customer with ID 0Q2T38XTKMV99AJWC1ADSTZZJC not found.
    )
    )
    )

    I checked the user's account and there are no card information saved on his profile. If this is the issue then how can we update the information on our end? Can we delete the Customer ID and leave it empty?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there @dme012,

    We apologize for the late response!

    We’ve seen this error before when all of three conditions are true:

    – A customer is logged in (otherwise the option to save card wouldn’t show at the checkout)
    – There’s wc_square_customer_id saved in user meta in the database
    – This customer id doesn’t exist in Square (because it was deleted, merged, comes from a different Square account, etc)

    Can we delete the Customer ID and leave it empty?

    Yes, this should clear user’s wc_square_customer_id and help with the issue.

    Let us know how that goes!

    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    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, you can start a new thread.

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

The topic ‘Customer with ID not found.’ is closed to new replies.