#Зотов
1 messages · Page 1 of 1 (latest)
How can we help?
I change keys from test account for prod account but orders doesn created on the prod account
Are they still being created in test mode then?
Here
It looks like you're using 2 separate Stripe accounts, right? One Stripe account for your test server and one for your prod server, correct?
Correct, I just wanted to make sure we were aligned. So in that case, you should be using the test API keys from Account A for your test site, and the live API keys from Account B for your prod site, correct?
yes
Okay, so the problem is that you're not actually changing your API keys somewhere. Somehow you're still making requests using Account A's test keys instead of Account B's live keys
But i change for all keys from prod, how we can check that ?
Where is your code-base?
gitlab
Right, but, like, do you have the ability to go through your code and view how the API keys are being set right now? Are you using an ENV variable?
In env end somethere else
Sorry, I don't understand
Correct. That will route to your production site for that specific Stripe object. That may not be the only place it gets set though, so you need to look through your code and look for other places where the keys are set. There is likely a secret API key in the codebase somewhere too
O use this instructions for keys
but order doesn create in corrdect plase
I fix
work
Thanks
It's working now?
yes
Ah okay, good to know! Glad you were able to get it working