#benk - PI livetest

1 messages ยท Page 1 of 1 (latest)

cosmic oak
lean jackal
#

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

cosmic oak
#

The message suggests you're using the wrong API keys for that payment intent, are you sure you've double checked this?

cosmic oak
#

Can you share the request ID here? req_123...

lean jackal
#

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?

cosmic oak
#

Where did you see the error message you shared?

lean jackal
#

In my app

#

Hang on... where is the error on stripe :)... looking

cosmic oak
#

You need to ensure those match

lean jackal
#

Checking

cosmic oak
#

While you're developing, you should ensure youre using the test secret key in your back end

lean jackal
#

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

cosmic oak
#

Something must have changed with the key configuration on one end or the other

#

๐Ÿ‘

lean jackal
#

exactly

cosmic oak
#

Do you expect this to be in live mode or test?

lean jackal
#

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

cosmic oak
#

ok if youre expecting live, the server side is fine but the app is wrong

#

so expo is a good place to look

lean jackal
#

yup

#

checking

#

Yeah, I think it's the issue

#

if not I'll reach out to you again. Thanks for checking

cosmic oak
#

NP!

#

Good luck ๐Ÿ™‚