#epuuc
1 messages · Page 1 of 1 (latest)
Hi 👋
Do you have any example API request ID so I can check?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Sorry, I don't have access to the backend, or the dashboard, was just wondering if the pk_test_xxx key is used anywhere else in any requests to you guys, or code besides in the StripeProvider in React Native's code.
Just on a time crunch to fix this issue before tomorrow
Okay but I have no information on who you are
So I would need account IDs or something to even begin to look into this
I have an account ID
from the last time I chatted with Stripe
acct_1NSTtmCrjytTLB5p
Okay I'm seeing some requests using the Test API keys to create Payment Intents
And create Payment Methods using our iOS SDK
yes, but in code we're definitely using the live keys
wait
creating the payment intents is from the backend, correct?
I am telling you I am seeing Test mode requests both client-side and back-end
that were made today
really?
Yes
we're trying everything here, lemme send something and tell me if anything is wrong
we had that saved in an external file but it was still saying the test key was being used
Okay but that's the publishable key
So that only addresses the client-side
And the requests I saw are from the iOS SDK so that would be in an iOS app
that's the only place a key is being used, besides the client_secret which is passed from the backend
yes, we aren't using that specific key anywhere, but you're saying a testing key is being used in the back end as well?
I'm looking at the API key used in a request on your account and it is using sk_test_
the secret key is being used then
which is on the back end
and I'm guessing that creates a test payment intent, and the client_secret is sent to the app to be used?
Yup
so that's why it's coming up as both client-side and backend?
All the same objects as Live mode but in Test
No, you are using a test API key client-side as well
Those are two separate keys
the pk_test key?
Yup
really? we have it practically hard coded in as using the live key
here
But it's on the client side. Is it possible there is an installed iOS app somewhere that was not updated?
hmm, we've always had it use the live key, or at least a ternary to determine if it's a simulator or not
Well all I can tell you is that you have client-side requests using an iOS SDK and the test key
has the sk_live key ever been used?
Really I can't keep helping you like this. All of this information is available in your account logs
https://dashboard.stripe.com/test/logs for test logs
https://dashboard.stripe.com/logs for live mode logs
We just figured out the issue behind it, some old code for testing we forgot to delete lol. Thanks @cinder flame for the time.