#WilliamD - Card_present error

1 messages · Page 1 of 1 (latest)

junior dune
#

Hi 👋
Where are you encountering this error? What tech are you using?

young kindle
#

Hi, i'm using the Node.js lib. No idea where the error is encountered, here is the full stack

#
Error: The card_present source type with currency eur is not supported.
    at Function.generate (/srv/cloudnode/node_modules/stripe/lib/Error.js:40:16)
    at res.toJSON.then.StripeAPIError.message (/srv/cloudnode/node_modules/stripe/lib/StripeResource.js:220:35)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
#

these files are internal

#

I found a similar issue on GitHub but it was closed with a single comment that this was an issue with the API not the lib

#

I found the actual error event on the stripe dashboard

junior dune
#

Okay, what are you building with Node.js?

young kindle
#
{
  "error": {
    "code": "card_present_currency_not_supported",
    "message": "The card_present source type with currency eur is not supported.",
    "type": "invalid_request_error"
  }
}

here's the API response

#

Any idea what the issue is? We tested this before and it seemed to work

junior dune
#

Is this for a Stripe Terminal device?

young kindle
#

No, it's upon creating a PaymentIntent via the Node.js lib

#

here is a screenshot of the event

junior dune
#

Oh, you've got card_present in your list of payment_method_types. This is only for Stripe Terminal card readers and only in the US. Try taking that out and see if you get the same error.

young kindle
#

Ah, I see

#

thanks for the info

#

Are all of the _present methods for Stripe Terminal?

#

i see that many of these don't work with eur so i'm just gonna test and remove all that fail. thanks for the help

junior dune
young kindle
#

I did check that out. I cannot however find docs on which methods can be used with setup_future_usage

#

nvm the error mentions ["eps", "giropay", "p24"]

junior dune
#

If you go through the individual payment method pages in this section of the docs, they will contain details on setting up future usage for those payment methods where it is an option

young kindle
#

I see, thanks a lot