#bertrand-glinas_api

1 messages ยท Page 1 of 1 (latest)

meager mauveBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1410427365875777617

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

meager pendant
#

hello! where are you seeing that error?

Ressource payment_intent inexistante : 'pi_3S0u0PG6b521Lrze0CZd9uVv'; a similar object exists in live mode, but a test mode key was used to make this request.

junior lynx
#

When i create the payment intent from client side

meager pendant
#

The key was created with your livemode key (which is your secret key), and you're probably trying to access it with your test publishable key

junior lynx
#

No i am positive that it's not the test keyi'm using

meager pendant
#

I suggest you log the first 7 characters of publishable key to check and verify

#

the publishable key being used client side

junior lynx
#

ok let me check

meager pendant
#

it will either show pk_test, or pk_live

junior lynx
#

ephemeral key right?

#

oh

#

damn

#

forget about that one

meager pendant
#

if you're using the ephereral key, then I suggest you log the secret key you used to create the ephereral key then

junior lynx
#

let me check

meager pendant
#

sorry, actually if you log the first few characters of the ephereral key, you'll know if it's test or live too

junior lynx
#

ephemeral key is live

#

but i think that publishable key was test indeed.. that what,s confused me..

#

let me check

#

got it..

#

it works

#

thanks ๐Ÿ™‚