#bilal0739

1 messages · Page 1 of 1 (latest)

ashen krakenBOT
blazing trellis
#

What error do you see in Dashboard?

reef jolt
#

its related to customer

blazing trellis
#

What's the exact error message?

reef jolt
#

My code is correct i am first fetching the customers and if the customer dont exit in stripei am creating it

blazing trellis
#

I saw some 404 erros, can you send me one of the request IDs?

reef jolt
#

see the date of those

#

those are old

#

Thats the problem i am unable to see the logs

#

the logs i can see is old logs

#

and the recent section of dashboard shows it gets error on get customer request, but when i click on it to see more details it dont show

reef jolt
ashen sedge
#

Hi! I'm taking over this thread.

#

what's your question exactly?

reef jolt
#

i am getting this error

The provided Intent client secret does not match the expected client secret format. Make sure your server is returning the correct value and that is passed to STPPaymentHandler.

#

and on stripe dashboard i see this

#

but when i try to see the details it dont show details, it shows 2 month old logs

#

not recent

#

and my code is first i fetch the customer from stripe if it dont exist i am creating it and then creating payment intent

#

but it seems like i am getting the error on fetching the customer

#

my stripe seceret key is also correct

ashen sedge
#

where do you see "The provided Intent client secret does not match the expected client secret format"?

#

and can you share the client secret you are using here?

reef jolt
#

its my production secret key it isnt safe to share it

reef jolt
#

remember the testing credentials are working correctly

#

but live are not working

ashen sedge
#

its my production secret key it isnt safe to share it
No, the error message is not about your secret key, but the "intent client secret". it's not the same thing

reef jolt
#

but why it is working in test mode

#

the only change is the test key and live key , rest of the things are all same

#

the frontend code, the backend code

ashen sedge
#

can you share the code that is thowing that error exactly?

#

and can you share the intent client sevret you are using by logging it?

reef jolt
#

ok i think i got the problem, is it possible if i send empty stripeAccount value it will give me error

await stripe.customers.list({ limit: 20 }, { stripeAccount });

ashen sedge
#

I don't know. I would need to see the failed request ID (req_xxx) to be sure.

reef jolt
#

what do you for that from me?

#

how can i provide requet ID?

ashen sedge
reef jolt
#

this is test logs?

#

but my bug is in live mode

#

and the logs dont show?

ashen sedge
#

if you are using the Stripe-Account header, the logs are probabbly on your connected account

reef jolt
#

Stripe-Account header?

ashen sedge
#

or you need to check this filter on your own platform account:

reef jolt
#

ok wait

#

only this tick?

ashen sedge
#

if it's a connect request yes

reef jolt
#

it is still not showing any log

ashen sedge
#

then check your server logs. in the error message there should be a req_xxx ID.

reef jolt
ashen sedge
#

did you find an error related to your issue? if so, share the Request ID (req_xxx) here

reef jolt
ashen sedge
#

then why are you showing me these logs?

reef jolt
#

stripe is not showing reent logs

ashen sedge
#

check your backend logs, if there are error they should be shown there