#Rahul Maru

1 messages · Page 1 of 1 (latest)

velvet shardBOT
keen comet
void bronze
#

on stripe dashboard logs it is not showing any error it is from stripe module provided for node js version stripe: ^7.13.0

keen comet
#

And what data did you pass to stripe.ephemeralKeys.create(data, version) ?

void bronze
#

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)"
}

GitHub

Node.js library for the Stripe API. . Contribute to stripe/stripe-node development by creating an account on GitHub.

keen comet
#

What does customerData.customerId return?

void bronze
#

cus_OQlNyGTXCVVnvk

#

stripe customer Id

keen comet
#

Can you inspect your network and see what's included in the request sent to /v1/ephemeral_keys ?

void bronze
#

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

keen comet
void bronze
#

yes that is succeded with updated version with old version it is throwing error

#

stripe: ^7.13.0 i got error

keen comet
#

That's a very old version, is that anything blocking you from using the new SDK?

void bronze
#

can you share me the ephemeralKeysCreate documentation on stripe i am not able to find it

void bronze
#

hello

#

these are the methods i am using if i update the version will it throws error

keen comet
#

What's the error?

void bronze
#

some methods return promise on pervious version right now it is not returning that is why i got code issues

keen comet
#

Do you have the detailed error message that I can take a look?

void bronze
#

i got resolved this can you check this requestId

req_7YLo1LJK3O05kT

what is the issue

keen comet
#

Have you checked your Dashboard?

void bronze
#

right now i have enabled this payment methods

#

do we need to do some more changes

keen comet
#

Another thing is that the amount is too small.

void bronze
#

i have one query can we add card while using it in stripe elements payment form