Square suddenly unable to connect
-
2024-06-18T17:13:56+00:00 NOTICE Request
method:
uri: createOrder
user-agent: WooCommerce-Square/4.6.2 (WooCommerce/8.9.3; WordPress/6.5.4)
headers: Array
(
)
body:
duration: 0.26386s
CONTEXT: {"_legacy":true}
2024-06-18T17:13:56+00:00 NOTICE Response
code: 200
message:
headers: Array
(
[0] => HTTP/1.1 200 OK
[Date] => Tue, 18 Jun 2024 17:13:56 GMT
[Content-Type] => application/json;charset=utf-8
[Content-Length] => 624
[Connection] => keep-alive
[CF-Ray] => 895ce9b0ea6c2c40-ORD
[CF-Cache-Status] => DYNAMIC
[Content-Encoding] => gzip
[Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
[Vary] => Accept-Encoding
[frame-options] => DENY
[square-version] => 2023-07-20
[x-content-type-options] => nosniff
[x-envoy-decorator-operation] => /v2/orders/**
[x-frame-options] => DENY
[x-sq-dc] => sjc3b
[x-sq-region] => sjc3b
[x-xss-protection] => 1; mode=block
[Set-Cookie] => __cf_bm=RnyYWaXXuWRQHUb_DCcsLpryIXnoTcBEymxu6_UrEno-1718730836-1.0.1.1-jlD0ftX_Q3vqIwiz3xm2_96s27V.K8pefQwOt58Q7KNlVM_8s2Zf7pkejiKAlbO07PfRbCTHyid3jk5nELFt0A; path=/; expires=Tue, 18-Jun-24 17:43:56 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
[Server] => cloudflare
)
body: {
"order": {
"id": "AIAhCOddi8LuVMOuO72dD4FTmeEZY",
"location_id": "LJDMMK3AFVDPE",
"reference_id": "1044",
"source": {
"name": "WooCommerce"
},
"customer_id": "9GAKA6ZY1VFFZTWB1WA1CDNEFW",
"line_items": [
{
"uid": "KMOFCfchOx4V6OG1yt1gpC",
"name": "Slim",
"quantity": "1",
"item_type": "ITEM",
"applied_discounts": [
{
"uid": "tsLyT36dyhMQPxg58jqPIC",
"discount_uid": "d540a14409d2957b101115e4a894b969b96088d1",
"applied_money": {
"amount": 32175,
"currency": "USD"
}
}
],
"base_price_money": {
"amount": 32500,
"currency": "USD"
},
"variation_total_price_money": {
"amount": 32500,
"currency": "USD"
},
"gross_sales_money": {
"amount": 32500,
"currency": "USD"
},
"total_tax_money": {
"amount": 0,
"currency": "USD"
},
"total_discount_money": {
"amount": 32175,
"currency": "USD"
},
"total_money": {
"amount": 325,
"currency": "USD"
},
"total_service_charge_money": {
"amount": 0,
"currency": "USD"
}
},
{
"uid": "CU6mPZvHfeYFaJlJEY4aoD",
"name": "Free shipping",
"quantity": "1",
"item_type": "ITEM",
"base_price_money": {
"amount": 0,
"currency": "USD"
},
"variation_total_price_money": {
"amount": 0,
"currency": "USD"
},
"gross_sales_money": {
"amount": 0,
"currency": "USD"
},
"total_tax_money": {
"amount": 0,
"currency": "USD"
},
"total_discount_money": {
"amount": 0,
"currency": "USD"
},
"total_money": {
"amount": 0,
"currency": "USD"
},
"total_service_charge_money": {
"amount": 0,
"currency": "USD"
}
}
],
"discounts": [
{
"uid": "d540a14409d2957b101115e4a894b969b96088d1",
"name": "Discount",
"type": "FIXED_AMOUNT",
"amount_money": {
"amount": 32175,
"currency": "USD"
},
"applied_money": {
"amount": 32175,
"currency": "USD"
},
"scope": "LINE_ITEM"
}
],
"net_amounts": {
"total_money": {
"amount": 325,
"currency": "USD"
},
"tax_money": {
"amount": 0,
"currency": "USD"
},
"discount_money": {
"amount": 32175,
"currency": "USD"
},
"tip_money": {
"amount": 0,
"currency": "USD"
},
"service_charge_money": {
"amount": 0,
"currency": "USD"
}
},
"created_at": "2024-06-18T17:13:56.725Z",
"updated_at": "2024-06-18T17:13:56.725Z",
"state": "OPEN",
"version": 1,
"total_money": {
"amount": 325,
"currency": "USD"
},
"total_tax_money": {
"amount": 0,
"currency": "USD"
},
"total_discount_money": {
"amount": 32175,
"currency": "USD"
},
"total_tip_money": {
"amount": 0,
"currency": "USD"
},
"total_service_charge_money": {
"amount": 0,
"currency": "USD"
},
"net_amount_due_money": {
"amount": 325,
"currency": "USD"
}
}
}
CONTEXT: {"_legacy":true}
2024-06-18T17:13:57+00:00 NOTICE Request
method:
uri: createPayment
user-agent: WooCommerce-Square/4.6.2 (WooCommerce/8.9.3; WordPress/6.5.4)
headers: Array
(
)
body:
duration: 0.7387s
CONTEXT: {"_legacy":true}
2024-06-18T17:13:57+00:00 NOTICE Response
code: 400
message:
headers: Array
(
[0] => HTTP/1.1 400 Bad Request
[Date] => Tue, 18 Jun 2024 17:13:57 GMT
[Content-Type] => application/json
[Content-Length] => 1955
[Connection] => keep-alive
[CF-Ray] => 895ce9b27c7a2c40-ORD
[CF-Cache-Status] => DYNAMIC
[Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
[frame-options] => DENY
[square-version] => 2023-07-20
[squareup--connect--v2--common--versionmetadata-bin] => CgoyMDIzLTA3LTIw
[x-content-type-options] => nosniff
[x-envoy-decorator-operation] => /v2/payments/**
[x-frame-options] => DENY
[x-sq-dc] => aws
[x-sq-region] => us-east-1
[x-xss-protection] => 1; mode=block
[Set-Cookie] => __cf_bm=v17RleT3ACzy._VWSwSaQK00IskPhfP23G76zj4sOaI-1718730837-1.0.1.1-MXtffALcPAVGMcHkrMBHl8Z4Q7VJAY4qrwG4njdtBNft_nYGTTCFHcjjKsQRWAzSwDa.WWv31QJpW4t5nSTwlQ; path=/; expires=Tue, 18-Jun-24 17:43:57 GMT; domain=.connect.squareup.com; HttpOnly; Secure; SameSite=None
[Vary] => Accept-Encoding
[Server] => cloudflare
)
body: Array
(
[0] => Square\Models\Error Object
(
[category:Square\Models\Error:private] => PAYMENT_METHOD_ERROR
[code:Square\Models\Error:private] => GENERIC_DECLINE
[detail:Square\Models\Error:private] => Authorization error: 'GENERIC_DECLINE'
[field:Square\Models\Error:private] =>
)
)
CONTEXT: {"_legacy":true}
2024-06-18T17:13:57+00:00 NOTICE Status code GENERIC_DECLINE: Authorization error: 'GENERIC_DECLINE' CONTEXT: {"_legacy":true}
2024-06-18T18:27:57+00:00 NOTICE Square.js Response:
Array
(
[brand] => VISA
[expMonth] => 4
[expYear] => 2027
[last4] => 9222
)
CONTEXT: {"_legacy":true}The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.