• Resolved jitin880426

    (@jitin880426)


    Whenever I try to place an order, it gives me the error “Something went wrong. Please contact us to get assistance.”

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

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for letting us know. Once you’re able to switch to the sandbox keys and test, please update us here with the results so we can continue assisting if needed.

    Thread Starter jitin880426

    (@jitin880426)

    https://tinyurl.com/2a7feu7k

    https://tinyurl.com/2awslr6b

    Ok using sandbox payment is working fine.

    I have attched screenshots which were asked.

    Here is the log:

    2025-08-19T02:11:28+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.13695s
    CONTEXT: {"_legacy":true}
    2025-08-19T02:11:28+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 02:11:28 GMT
    [content-type] => application/json
    [content-length] => 289
    [cf-ray] => 97161ed82aaaf788-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-east-1
    [x-sq-region] => us-east-1
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=oKIeDTt8eDR3uv8dbeZOoiaJbtRm3k3ovzfBMttkkx8-1755569488-1.0.1.1-.044GZyOb9.9px.JAaUfV6dSSbyukgrLR902QpubGmKW0h6IyP6J_C1oswDvYErmSLVixGH.TXL5rKnQLH_w4Le71KDeSU43ALWwZI0fv60; path=/; expires=Tue, 19-Aug-25 02:41:28 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
    [server] => cloudflare
    )
    body: {
    "locations": [
    {
    "id": "L9FXDDH3YZHKY",
    "name": "Dolce Mia, LLC",
    "timezone": "America\/New_York",
    "capabilities": [
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-07-04T21:59:15.554Z",
    "merchant_id": "MLBSJFJEMFJK6",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Dolce Mia, LLC",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T03:27:37+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.29227s
    CONTEXT: {"_legacy":true}
    2025-08-19T03:27:37+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 03:27:37 GMT
    [content-type] => application/json
    [content-length] => 289
    [cf-ray] => 97168e62f81740ae-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-east-1
    [x-sq-region] => us-east-1
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=yu6HNthpL8iuOLVWG.a1NHcqy7Zm_AkhvjYf48GOIV8-1755574057-1.0.1.1-Mc9p11kzie7CHUt_2L8riEs29QFJYdeYIIFUS2OwCidjv7kwhy_IjMXSXOFG95MI3LYN2BtuKLa8E1HVrPA_BTVgn6gIF5nzG5u4OlFW3Vw; path=/; expires=Tue, 19-Aug-25 03:57:37 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
    [server] => cloudflare
    )
    body: {
    "locations": [
    {
    "id": "L9FXDDH3YZHKY",
    "name": "Dolce Mia, LLC",
    "timezone": "America\/New_York",
    "capabilities": [
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-07-04T21:59:15.554Z",
    "merchant_id": "MLBSJFJEMFJK6",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Dolce Mia, LLC",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T16:03:13+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.13813s
    CONTEXT: {"_legacy":true}
    2025-08-19T16:03:13+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 16:03:12 GMT
    [content-type] => application/json
    [content-length] => 289
    [cf-ray] => 971ae1358e3a7c9f-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-east-1
    [x-sq-region] => us-east-1
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=IHw.ivt2B1xr4fjc9MYemaN6045aw7W7X3hdnaayNaY-1755619392-1.0.1.1-j.mfL4sWAqzu9FQBKMvUGFtm9.RJ3gihewZmQ7g9mrCDqJocXF1Ub5Jv2GgogRClEUbaRaArWjGcpTGz.Ffc7L9YxbsgnVgr43uYrDoZMg8; path=/; expires=Tue, 19-Aug-25 16:33:12 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
    [server] => cloudflare
    )
    body: {
    "locations": [
    {
    "id": "L9FXDDH3YZHKY",
    "name": "Dolce Mia, LLC",
    "timezone": "America\/New_York",
    "capabilities": [
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-07-04T21:59:15.554Z",
    "merchant_id": "MLBSJFJEMFJK6",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Dolce Mia, LLC",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T16:04:17+00:00 NOTICE Your domain has been verified with Apple Pay! CONTEXT: {"_legacy":true}
    2025-08-19T16:04:18+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.13777s
    CONTEXT: {"_legacy":true}
    2025-08-19T16:04:18+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 16:04:18 GMT
    [content-type] => application/json
    [content-length] => 289
    [cf-ray] => 971ae2cbe9d15f83-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-east-1
    [x-sq-region] => us-east-1
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=utcGjv8kYWLKHC3S0uLKM7b_h6z_ciszL6_vcG.qmTU-1755619458-1.0.1.1-WPrzDpmD7bZnRc3oXdE4R0kx5xTiIZ4UKqrV1aMcPEy4wilGcmihYhSOKttuDUu8.KJqZBxwj9tzI7tVyMY8bdUaFZ1B0cRM_orsV7UcVQg; path=/; expires=Tue, 19-Aug-25 16:34:18 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
    [server] => cloudflare
    )
    body: {
    "locations": [
    {
    "id": "L9FXDDH3YZHKY",
    "name": "Dolce Mia, LLC",
    "timezone": "America\/New_York",
    "capabilities": [
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-07-04T21:59:15.554Z",
    "merchant_id": "MLBSJFJEMFJK6",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Dolce Mia, LLC",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T16:05:03+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.32209s
    CONTEXT: {"_legacy":true}
    2025-08-19T16:05:03+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 16:05:03 GMT
    [content-type] => application/json
    [content-length] => 386
    [server] => cloudflare
    [cf-ray] => 971ae3e72f6d577b-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-west-2
    [x-sq-region] => us-west-2
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=11KgOjrqR1F3IhFGmW9kKCTGY37lKOv.ITFPGGYxyAc-1755619503-1.0.1.1-r2mW8P9dY6XYHJlnKDFs5buP90YHlCDKxX0SzmUJnoNhiNlArmC8ZGDSNg_S8DWO8H6YjsbI0kpjg4.hT96QLkenIHQ1dj7FoeAoAnMG4jg; path=/; expires=Tue, 19-Aug-25 16:35:03 GMT; domain=.squareupsandbox.com; HttpOnly; Secure; SameSite=None
    )
    body: {
    "locations": [
    {
    "id": "L78XDX2HS2B5Z",
    "name": "Default Test Account",
    "address": {
    "address_line_1": "1600 Pennsylvania Ave NW",
    "locality": "Washington",
    "administrative_district_level_1": "DC",
    "postal_code": "20500",
    "country": "US"
    },
    "timezone": "UTC",
    "capabilities": [
    "CREDIT_CARD_PROCESSING",
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-08-19T16:01:59.205Z",
    "merchant_id": "MLVHFZ5WKX1A5",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Default Test Account",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T16:07:22+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.31431s
    CONTEXT: {"_legacy":true}
    2025-08-19T16:07:22+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 16:07:22 GMT
    [content-type] => application/json
    [content-length] => 386
    [server] => cloudflare
    [cf-ray] => 971ae749b905423a-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-west-2
    [x-sq-region] => us-west-2
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=KB1v2lt2ju_Z_wvyYaT.9XwjvrjBfMBv8vn8.AQ0odY-1755619642-1.0.1.1-_IsfHOUIg79n5xljEPnet4ViGk49dFKCvKCn8XZxA4ZFHobaznBVSb02GGHm.kLffPhAPFHg0buf4itlGqHozT4c7LL49TOBt8zRxLSFbz8; path=/; expires=Tue, 19-Aug-25 16:37:22 GMT; domain=.squareupsandbox.com; HttpOnly; Secure; SameSite=None
    )
    body: {
    "locations": [
    {
    "id": "L78XDX2HS2B5Z",
    "name": "Default Test Account",
    "address": {
    "address_line_1": "1600 Pennsylvania Ave NW",
    "locality": "Washington",
    "administrative_district_level_1": "DC",
    "postal_code": "20500",
    "country": "US"
    },
    "timezone": "UTC",
    "capabilities": [
    "CREDIT_CARD_PROCESSING",
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-08-19T16:01:59.205Z",
    "merchant_id": "MLVHFZ5WKX1A5",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Default Test Account",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T16:09:41+00:00 NOTICE Your domain has been verified with Apple Pay! CONTEXT: {"_legacy":true}
    2025-08-19T16:09:53+00:00 NOTICE Request
    Request
    method:
    uri: listLocations
    user-agent: WooCommerce-Square/4.9.7 (WooCommerce/10.1.0; WordPress/6.8.2)
    headers: Array
    (
    )
    body:
    duration: 0.26845s
    CONTEXT: {"_legacy":true}
    2025-08-19T16:09:53+00:00 NOTICE Response
    Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [date] => Tue, 19 Aug 2025 16:09:53 GMT
    [content-type] => application/json
    [content-length] => 386
    [server] => cloudflare
    [cf-ray] => 971aeaf93d2772aa-EWR
    [cf-cache-status] => DYNAMIC
    [content-encoding] => gzip
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    [vary] => Accept-Encoding
    [frame-options] => DENY
    [square-version] => 2025-01-23
    [squareup--connect--v2--common--versionmetadata-bin] => CgoyMDI1LTAxLTIz
    [x-content-type-options] => nosniff
    [x-envoy-decorator-operation] => /v2/locations
    [x-frame-options] => DENY
    [x-sq-dc] => aws
    [x-sq-istio-migration-ingress-proxy] => sq-envoy
    [x-sq-istio-migration-ingress-region] => us-west-2
    [x-sq-region] => us-west-2
    [x-xss-protection] => 1; mode=block
    [set-cookie] => __cf_bm=WC2BuEy.CjxfbnWavDkaJkR__dSG3NUjVq76PSNqwFY-1755619793-1.0.1.1-sqS0Yo5dv1u5jy0TYaWUvpwoBg0cZaXKmhYzecwVy_alY.IE.6F2UPFdE7VhNaYXV1WGxN.TAMZOvz5fAOv3_3PdFvGcnFDZCwbePD_Ql00; path=/; expires=Tue, 19-Aug-25 16:39:53 GMT; domain=.squareupsandbox.com; HttpOnly; Secure; SameSite=None
    )
    body: {
    "locations": [
    {
    "id": "L78XDX2HS2B5Z",
    "name": "Default Test Account",
    "address": {
    "address_line_1": "1600 Pennsylvania Ave NW",
    "locality": "Washington",
    "administrative_district_level_1": "DC",
    "postal_code": "20500",
    "country": "US"
    },
    "timezone": "UTC",
    "capabilities": [
    "CREDIT_CARD_PROCESSING",
    "AUTOMATIC_TRANSFERS"
    ],
    "status": "ACTIVE",
    "created_at": "2025-08-19T16:01:59.205Z",
    "merchant_id": "MLVHFZ5WKX1A5",
    "country": "US",
    "language_code": "en-US",
    "currency": "USD",
    "business_name": "Default Test Account",
    "type": "PHYSICAL",
    "business_hours": {},
    "mcc": "7299"
    }
    ]
    }
    CONTEXT: {"_legacy":true}
    2025-08-19T16:11:48+00:00 NOTICE [Performance] create_order completed in 305ms with 398.75KB of memory usage CONTEXT: {"_legacy":true}
    2025-08-19T16:11:48+00:00 NOTICE [Performance] payment_transaction completed in 698ms with 617.88KB of memory usage CONTEXT: {"_legacy":true}
    2025-08-19T16:11:48+00:00 NOTICE [Performance] handle_payment_response completed in 21ms with -21.58KB of memory usage CONTEXT: {"_legacy":true}
    2025-08-19T16:11:49+00:00 NOTICE [Performance] process_payment completed in 1.758s with 5.84MB of memory usage CONTEXT: {"_legacy":true}
    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the details. I have also checked the issue on your site and was able to place an order in sandbox mode, which indicates that the issue may be related to live mode.

    To assist you further, could you please confirm: when you get the error “Something went wrong. Please contact us to get assistance.”, was the order still placed?”If yes, could you please check the affected order notes and share a screenshot of them?

    Additionally, please try the following:

    1. Switch the site to production (live) mode again.
    2. Clear the site cache.
    3. Attempt to replicate the issue.
    4. Check your browser console to see if you still get a 400 (Bad Request) error while placing an order.

    If the issue persists, please contact your site hosting provider and ask them to check what is causing the 400 Bad Request. They are in the best position to review the server logs and can guide us on what might be blocking the request.

    Please let us know what you find.

    Thread Starter jitin880426

    (@jitin880426)

    Yes, orders were working and this is the screenshot:

    https://tinyurl.com/28p7y6h7

    I will add the live keys.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the order notes. I can see the error: bad_request: this account has not been enabled to take payment.

    This error indicates that the live account is not configured properly, which is why you are getting this message. Please make sure your payment settings are configured as described here: WooCommerce Square Payment Settings.

    Let us know if that work for you.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    I’m going to mark this as resolved, as we haven’t heard back from you in a while. Please open a new thread if you need further assistance.

    Your feedback helps others – please consider leaving a review: https://ww.wp.xz.cn/support/plugin/woocommerce-square/reviews/

Viewing 6 replies - 16 through 21 (of 21 total)

The topic ‘Square Payment Issue’ is closed to new replies.