#eder-card-decline

1 messages · Page 1 of 1 (latest)

kindred heathBOT
lilac agate
#

eder-card-decline

#

@chrome idol what's your question? This request looks like just a normal card decline from the bank

chrome idol
#

I'm receiving an error when creating an amex card. But I'm using the same example at the strapi test cards. The error:

{"type":"StripeCardError","code":"card_declined","data":"Error","message":"Error: Your card is not supported.\n    at Function.generate (/home/node/node_modules/stripe/lib/Error.js:38:16)\n    at res.toJSON.then.StripeAPIError.message (/home/node/node_modules/stripe/lib/StripeResource.js:238:35)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}```
lilac agate
#

That's a completely different error from the first one though. Can you provide actionable details for me to look at this and help you, like the exact request id that you get in the response?

chrome idol
#

1 sec

chrome idol
lilac agate
#

that's the same response as earlier though without more details

#

and that's not the same error as "your card is not supported"

chrome idol
#

I'm going to do another request

#
{
  "type": "card",
  "card": {
    "number": "***8431",
    "exp_month": "2",
    "cvc": "**",
    "exp_year": "28"
  }
}

Response body
{
  "error": {
    "code": "card_declined",
    "decline_code": "card_not_supported",
    "doc_url": "https://stripe.com/docs/error-codes/card-declined",
    "message": "Your card is not supported.",
    "param": "number",
    "request_log_url": "https://dashboard.stripe.com/test/logs/req_0z8ijI4GIu63Zq?t=1679335668",
    "type": "card_error"
  }
}

Request body
{
  "type": "card",
  "card": {
    "number": "***8431",
    "exp_month": "2",
    "cvc": "**",
    "exp_year": "28"
  }
}```
#
  "nickname": "Amex",
  "ownerName": "Teste",
  "cardNumber": "371449635398431",
  "expirationDate": "02/28",
  "cvc": "2915",
  "clientId": "1fb395fc-c012-4047-bc5e-be8b05e0d4c2"
}```
#

@lilac agate This is the request I made just now

lilac agate
chrome idol
#

Hmmmmmm

#

Got it

#

Thank you