Caught exception!
Response body:
object(stdClass)#12394 (1) {
  ["errors"]=>
  array(1) {
    [0]=>
    object(stdClass)#12393 (3) {
      ["code"]=>
      string(17) "INVALID_CARD_DATA"
      ["detail"]=>
      string(154) "Card nonce not found in this application environment. Please ensure an application ID belonging to the same environment is used when generating the nonce."
      ["category"]=>
      string(21) "INVALID_REQUEST_ERROR"
    }
  }
}

Response headers:
array(19) {
  [0]=>
  string(24) "HTTP/1.1 400 Bad Request"
  ["Date"]=>
  string(29) "Tue, 23 Apr 2024 16:32:56 GMT"
  ["Content-Type"]=>
  string(16) "application/json"
  ["Content-Length"]=>
  string(3) "247"
  ["Connection"]=>
  string(10) "keep-alive"
  ["CF-Ray"]=>
  string(20) "878f409908e25a55-MEL"
  ["CF-Cache-Status"]=>
  string(7) "DYNAMIC"
  ["Strict-Transport-Security"]=>
  string(45) "max-age=631152000; includeSubDomains; preload"
  ["frame-options"]=>
  string(4) "DENY"
  ["square-version"]=>
  string(10) "2019-08-14"
  ["squareup--connect--v2--common--versionmetadata-bin"]=>
  string(16) "CgoyMDE5LTA4LTE0"
  ["x-content-type-options"]=>
  string(7) "nosniff"
  ["x-envoy-decorator-operation"]=>
  string(15) "/v2/payments/**"
  ["x-frame-options"]=>
  string(4) "DENY"
  ["x-sq-dc"]=>
  string(3) "aws"
  ["x-sq-region"]=>
  string(9) "us-west-2"
  ["x-xss-protection"]=>
  string(13) "1; mode=block"
  ["Set-Cookie"]=>
  string(264) "__cf_bm=PiA05ueB.RoLgBs8HpyPzxuIGVW9FmAmSyI2GT87kUE-1713889976-1.0.1.1-_Jn.8.2v7utRzuVz4aox6nh2teVsT_ASim9leZQxzIJB1EaGbfV5xiPVMD8g_ZNHsl891AnxXUcMxJErnuqnOw; path=/; expires=Tue, 23-Apr-24 17:02:56 GMT; domain=.squareupsandbox.com; HttpOnly; Secure; SameSite=None"
  ["Server"]=>
  string(10) "cloudflare"
}