#Rahul Maru
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
on stripe dashboard logs it is not showing any error it is from stripe module provided for node js version stripe: ^7.13.0
And what data did you pass to stripe.ephemeralKeys.create(data, version) ?
ephemeralKeysCreate({ customer: customerData.customerId }, {apiVersion: '2020-08-27'})
{
"message": "Stripe: Unknown arguments ([object Object]). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options. (on API request to POST /ephemeral_keys)"
}
What does customerData.customerId return?
Can you inspect your network and see what's included in the request sent to /v1/ephemeral_keys ?
that is backend integration i can't do that
but that is exact data i have sent into it
i have logged this data on console
https://dashboard.stripe.com/test/logs/req_xl5JrOI9SHJjnG Looks like the recent request succeeded
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes that is succeded with updated version with old version it is throwing error
stripe: ^7.13.0 i got error
That's a very old version, is that anything blocking you from using the new SDK?
can you share me the ephemeralKeysCreate documentation on stripe i am not able to find it
hello
these are the methods i am using if i update the version will it throws error
What's the error?
some methods return promise on pervious version right now it is not returning that is why i got code issues
Do you have the detailed error message that I can take a look?
i got resolved this can you check this requestId
req_7YLo1LJK3O05kT
what is the issue
Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types"
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Have you checked your Dashboard?
Another thing is that the amount is too small.
https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts refer to this page for the minium amount for each currency.
i have one query can we add card while using it in stripe elements payment form