Skip to content

Instantly share code, notes, and snippets.

@chanakaDe
Created June 28, 2020 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chanakaDe/46cdb84960c40505eac1576b06ee55b6 to your computer and use it in GitHub Desktop.
Save chanakaDe/46cdb84960c40505eac1576b06ee55b6 to your computer and use it in GitHub Desktop.
{
"type": "error",
"code": 500,
"msg": "An error occurred while processing your card. Try again in a little bit.",
"body": {
"raw": {
"code": "processing_error",
"doc_url": "https://stripe.com/docs/error-codes/processing-error",
"message": "An error occurred while processing your card. Try again in a little bit.",
"param": "",
"type": "card_error",
"headers": {
"server": "nginx",
"date": "Sun, 28 Jun 2020 07:13:54 GMT",
"content-type": "application/json",
"content-length": "257",
"connection": "keep-alive",
"access-control-allow-credentials": "true",
"access-control-allow-methods": "GET, POST, HEAD, OPTIONS, DELETE",
"access-control-allow-origin": "*",
"access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
"access-control-max-age": "300",
"cache-control": "no-cache, no-store",
"request-id": "req_393siKAspjy7wG",
"stripe-version": "2019-12-03",
"strict-transport-security": "max-age=31556926; includeSubDomains; preload"
},
"statusCode": 402,
"requestId": "req_393siKAspjy7wG"
},
"rawType": "card_error",
"code": "processing_error",
"param": "",
"headers": {
"server": "nginx",
"date": "Sun, 28 Jun 2020 07:13:54 GMT",
"content-type": "application/json",
"content-length": "257",
"connection": "keep-alive",
"access-control-allow-credentials": "true",
"access-control-allow-methods": "GET, POST, HEAD, OPTIONS, DELETE",
"access-control-allow-origin": "*",
"access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
"access-control-max-age": "300",
"cache-control": "no-cache, no-store",
"request-id": "req_393siKAspjy7wG",
"stripe-version": "2019-12-03",
"strict-transport-security": "max-age=31556926; includeSubDomains; preload"
},
"requestId": "req_393siKAspjy7wG",
"statusCode": 402,
"type": "StripeCardError"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment