Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter djellsworth

    (@djellsworth)

    This is the message in the browser console:

    XHRPOST
    https://connect.squareup.com/v2/analytics/verifications
    [HTTP/2 400 99ms]

    POST
    https://connect.squareup.com/v2/analytics/verifications
    Status
    400
    VersionHTTP/2
    Transferred1.22 kB (224 B size)
    Referrer Policystrict-origin-when-cross-origin
    DNS ResolutionSystem

    access-control-allow-credentials
        true
    access-control-allow-headers
        Origin, Content-Type, Authorization, X-Requested-With, _connect_js_csrf, X-JS-ID, X-CSRF-Token, Square-Version, X-Allow-Cookies, X-Block-Cookies
    access-control-allow-methods
        GET, POST, PUT, DELETE, OPTIONS
    access-control-allow-origin
        https://connect.squareup.com
    cf-cache-status
        DYNAMIC
    cf-ray
        867fd039d91ea6f7-PHX
    content-encoding
        gzip
    content-length
        178
    content-type
        application/json
    date
        Thu, 21 Mar 2024 17:55:31 GMT
    server
        cloudflare
    strict-transport-security
        max-age=631152000; includeSubDomains; preload
    vary
        Origin, Accept-Encoding
    x-block-upstream-cluster
        payapi-analytics--production
    x-content-type-options
        nosniff
    x-download-options
        noopen
    x-envoy-decorator-operation
        /v2/analytics/verifications
    X-Firefox-Spdy
        h2
    x-frame-options
        SAMEORIGIN
    x-permitted-cross-domain-policies
        none
    x-speleo-traceid
        CDN-40fec778-eb4b-45e3-b216-a2f03055b598
    x-sq-dc
        aws
    x-sq-region
        us-west-2
    x-xss-protection
        1; mode=block
    
    Accept
        */*
    Accept-Encoding
        gzip, deflate, br
    Accept-Language
        en-US,en;q=0.5
    Connection
        keep-alive
    Content-Length
        6472
    Content-Type
        application/json
    Cookie
        _savt=ba3867f8-3607-4f70-8723-db0c8870c2ea; __cf_bm=iciB8PlXFodoTuNuGqAOWBsp3bKJ7fAEs3fegwaXl.0-1711043714-1.0.1.1-xwj2xsmvPvH8f4AooeyN0JAnsNa4GomC_bXzTW6dLx40haHEP2OxrP4WOlBwTjmMUwOEFWLBgb9H5rGECtL0NA
    DNT
        1
    Host
        connect.squareup.com
    Origin
        https://connect.squareup.com
    Referer
        https://connect.squareup.com/payments/data/frame.html?referer=https%3A%2F%2Fwww.speechcorner.com%2Fsc-checkout-page%2Forder-pay%2F36629%2F%3Fpay_for_order%3Dtrue%26key%3Dwc_order_reS2PFp8IscmS
    Sec-Fetch-Dest
        empty
    Sec-Fetch-Mode
        cors
    Sec-Fetch-Site
        same-origin
    TE
        trailers
    User-Agent
        Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
    Thread Starter djellsworth

    (@djellsworth)

    I have enable the links to be viewable, always forget that part lol.
    Currently it is just one card that throws the 400 error on the Post “https://connect.squareup.com/v2/analytics/verifications”
    We get emails from customers that the processing spinner just spins (nothing happens) but later the order goes through. This particular one causes this error every time. It will not process.

    Thread Starter djellsworth

    (@djellsworth)

    -Logging enabled. Please see attached.

    -Check API keys. I do not see these API keys listed anywhere on the screen (see screenshot attached. I can go to my square developer dashboard and the production environment shows I am using the Square API version 2020-04-22 (49 versions behind). I don’t know if that is related to this plugin or another project I started in the past. I don’t recall ever selecting anything here when using the square plugin.

    -Doesn’t work in Sandbox either (the same card number).

    Looking forward to your response. We have a couple customers now having the same problem, but other credit cart orders still come through just fine.

    Thanks.

    Square log: https://drive.google.com/file/d/16KryoThDwkclXCnUpxtR7As6ejp39B-U/view?usp=drive_link

    System report: https://drive.google.com/file/d/1l-hN1a-po9gW1i7K9vu40uJWu3Ghj6Pp/view?usp=drive_link

    Square settings (no API keys viewed): https://drive.google.com/file/d/1PXf_aaPINjI4ZWeUv45COqdDCsQGv0I_/view?usp=drive_link

    I am getting the same error on an existing site previously working just fine with Square (also using the basic Elementor hello theme) using the latest Woocommerce Square plugin. It only is a problem with some cards. Others process just fine, a few just spin and spin at checkout with the follow error:

    [POST?https://connect.squareup.com/v2/analytics/verifications?400 (Bad Request)]

    We had this same issue with Square. It happens when the customer attempts to save their credit card information (maybe they had already saved the same card under a different email). Anyhow, the fix is to uncheck the option to allow customers to save payment information. This is unfortunate, but looks like the plugin needs a fix.
    Debug info is:
    06-26-2020 @ 09:45:58 – Response
    code: 404
    message:
    headers: Array
    (
    [0] => HTTP/2 404
    [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] => Fri, 26 Jun 2020 16:45:58 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 GRGY6DBQT0X9QF3Q435FQMTY88 not found.
    )

    )

    )

    06-26-2020 @ 09:45:58 - Status code NOT_FOUND: Customer with ID GRGY6DBQT0X9QF3Q435FQMTY88 not found.

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