#WilliamD - Card_present error
1 messages · Page 1 of 1 (latest)
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
Okay, what are you building with Node.js?
{
"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
Is this for a Stripe Terminal device?
No, it's upon creating a PaymentIntent via the Node.js lib
here is a screenshot of the event
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.
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
Here is a thorough overview of the payment methods Stripe accepts and where they can be applied:
https://stripe.com/docs/payments/payment-methods/overview
You might find this useful in your testing
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"]
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
E.g. for iDEAL: https://stripe.com/docs/payments/ideal/set-up-payment
I see, thanks a lot