#cayro1874

1 messages · Page 1 of 1 (latest)

river basaltBOT
vocal lark
#

hi! that seems expected, sk_xxx is a secret key, not a client secret.

#

a client secret is the client_secret field on a PaymentIntent object and looks like pi_xxx_secret_yyy for instance.

mystic spruce
#

no sorry i pasted wrong error message. i have used correct client secret .

#

but still it's showing error

vocal lark
#

it must be incorrect in some way then(like it belongs to an object created on a different Stripe account than the one who's publishabkle keys the app is using).

mystic spruce
#

let me re check

#

no everything is correct. but i am getting this error.

#

i am using flutter and we are tryig to save the card details of the user

vocal lark
#

that's also wrong

#

cs_test_xxx is a CheckoutSession ID. a client secret is the client_secret field on a PaymentIntent object and looks like pi_xxx_secret_yyy for instance.

#

I assume the guide you're using will explain all the steps.