#shubh_99
1 messages · Page 1 of 1 (latest)
👋 Let's chat here
Hi
Sir
req_aoYeZznvZIX76v this is id can you tell me what is error
Are you here
When you say updated from v2 to v3, what are you referring to exactly?
What did you update?
Just tell me error
Does line_2 is missing because of that?
Tell me just
This what is missing exact error
The error is
error: {
code: "resource_missing",
doc_url: "https://stripe.com/docs/error-codes/resource-missing",
message: "No such token: 'tok_1NXQkaSCQQ84qVMJtDNmzFP5'",
param: "source",
request_log_url: "https://dashboard.stripe.com/test/logs/req_aoYeZznvZIX76v?t=1690212765",
type: "invalid_request_error",
},
}
No such token: 'tok_1NXQkaSCQQ84qVMJtDNmzFP5'
The token you're referrencing in the request belongs to a different account
Oo no why this error i have used all of same account
This is payment.js
And this is process file see api details are same
So tell i have used api details of same account only
See
Hello
Anyone can please help me
Hello
Please be patient, there are multiple users we're working with on discord
Hello! I'm hopping in here - and again, please be patient. We're helping multiple people in parallel
I don't need to see you're code right at this moment
Api details are you one account
(also i went ahead and deleted them since they have your api keys in them - they're just the test keys, but stll would recommend rolling them when you get the chance
No, those keys belong to two DIFFERENT accounts
No way sair they are same
your publishable key is for one account, and your secret key is for another
Are you 100% sure the client-side code from your screenshot is the one that's running?
Yes 100%
Can you add some logs and confirm that you're running the code you expect?
Yeah go ahead and add it
What log did you add client-side? ARe you seeing that in the browser console?
Is there anywhere in your code that you're creating tokens? Right now your client-side code is creating PaymentMethods - so it's impossible that the token that's being creating is coming from this code
You need to find where in your code you're creating a Token because that will be where the wrong API key is being set
The code you already shared is NOT where the token is being created
I am creating in payment.js file and
All are correct
Please you can check my code?