#benk - PI livetest
1 messages ยท Page 1 of 1 (latest)
Hey, thanks for picking this up!
So I imagine I use a wrong key somewhere, but just not sure where
I am not seeing the "test mode key" in the response on stripe.com
The message suggests you're using the wrong API keys for that payment intent, are you sure you've double checked this?
Can you share the request ID here? req_123...
I was hoping stripe will be able to show me what api key was used to make the call so I can search by it and figure it out
looking for it...
where do I find this key?
Where did you see the error message you shared?
It looks like you're creating payment intents with your live secret API key on your server: https://dashboard.stripe.com/logs/req_ngOGY5nkAie0up
but then using your test publishable key in your client app: https://dashboard.stripe.com/test/logs/req_MiCSvp59yHrvtI
You need to ensure those match
Checking
While you're developing, you should ensure youre using the test secret key in your back end
Thanks. Gonna dig in and see what's up
This is very strange since two days ago I used the same app with another account that made a successful call, and today it failed.
I need to see why
exactly
Do you expect this to be in live mode or test?
I have a feeling that when I published an update with expo publish it may have been using a .env file locally which has the test keys
but I need to confirm
live
ok if youre expecting live, the server side is fine but the app is wrong
so expo is a good place to look