#Chadiv
1 messages · Page 1 of 1 (latest)
This usually means that the account of your API key trying to access to customer object from different account
API key can only access the objects from the same account
You should create the customer object with the API key from new account as you can't access the customer object from old account
This is the same issue!
Yes
You can't access any object including customer and payment method with API key from another account
I'm afraid there is no way you can access objects with API key from different account. You could only create customer and collect payment method on the new account again
It should work since the API key before changing belonged to old account and the objects are from the same old account
No
I just created the website
And put à fresh stripe acc
And how other people do
Lol
Can you share the request ID (req_xxx) where you received the error, so that I can find the accounts that API and objects belong to? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
You can't access the objects from different account's API key
Im on webphone
I know
But i got the issue
Even when create new customer on my website
I would need the request ID (req_xxx) to check which account where you created the object and the API key you tried to access the object.
Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
pk_live_51K5CW0HEu0SN92aHYDKmriTMl36syJBIAlGUHmOUYt2QkUw9x86hkkjm7kS80FAuE45miEmAF9YDz8qJpzI1x3MU00XbOUzUCZ
This public key belongs to acct_1K5CW0HEu0SN92aH whereas cus_N6LZZbPw6jyenS is from acct_1ML7LYKgSGprvnog.
Which account is the new one?
Yes
Naokraft
But the problem is the same
When i create customer
If i follow you you mean that nobody can sell lol
Your customer is created on the old account. Could you check your secret key and ensure it's set to the new account's, so that the customer can be created on the new account?
What's the same?
If I put new one
Both public and secret keys should be set to new account's
It’s not new or old
Just 2 differbets
But if I put other keys error will be same
Haha
I see that the customer are created
But payments aren’t captured
Can you share the payment intent ID (pi_xxx) that is not captured?
How
Let's step back a bit
When you said "payments aren't captured", do you mean above error or the payment intent status is in requires_capture?
Can you copy and paste the payment method ID (pm_xxx) in text from the screenshot, so that I can have a check?
'pm_1MPgz5HEu0SN92aHsobMHIRT'
Strange that I'm unable to find pm_1MPgz5HEu0SN92aHsobMHIRT at my side. Could you share how you create the payment method (pm_xxx)?
I go on my website
Created customer
Then pay
And got that when using old customer account
If u want I give you the wabsite link
Or ftp accesss
I managed to find the correct payment method ID: pm_1MPgz5HEu0SN92aHsobMH1RT
the last 3 characters is 1RT not IRT
Looking into it now
Do you implement Stripe integration yourself or use third party plugin?
.
pm_1MPgz5HEu0SN92aHsobMH1RT was created acct_1K5CW0HEu0SN92aH (naokraft) in https://dashboard.stripe.com/logs/req_sbCWyYPR2JpYwb
But you tried to attach the payment method in
acct_1MMo5fF5VtNczC5a (Farfetch): https://dashboard.stripe.com/logs/req_yXCR19gLFFkbgZ
It looks like your public key (pk_xxx) uses the one from acct_1K5CW0HEu0SN92aH (naokraft) whereas your secret key (sk_xxx) uses the one from acct_1MMo5fF5VtNczC5a (Farfetch)
Could you ensure that you set your secret key to the one from acct_1K5CW0HEu0SN92aH (naokraft)?
I don't have access to secret keys. You can only configure the secret key yourself
I cant login
On app
Ok
I have acess
So if I want to use naokraft
Account
I need to change secret or public ?
Oh
I think it was that
I put the good one
I have to restard node yes ?
You'd need to change the secret key to the one from naokraft
Please do not share the secret key in this public channel as it's visible to everyone.
But as I’m not dev
Please delete the screenshot
Yes, you likely need to restart in order to pick up the new credentials
I'm afraid I'm not unable to do that