#yolanpibrac_error
1 messages · Page 1 of 1 (latest)
👋 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/1220287674636828722
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the request ID (req_xxx) of the error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks for waiting! Discord is busy now. I'm still looking into this error
I can't find ephkn_pub_Y8Ut5fpvDyBftr19JPgRq1cw internally as well
I think, this nonce is created for my parent account, but I'am trying to get an ephemeral key to display the pin of an issuing card which belong to a connected account acct_1MUTO0H2z2S1wXIQ
That's what I'm suspecting too! How did you create this nonce? Can you share the code?
yes, to create the nonce, in my react frontend: I used this code:
<Elements key={locale} stripe={loadStripe(stripePublicApiKey)}>{children}</Elements>
const stripe = useStripe();
const nonceResult = await stripe?.elements().createEphemeralKeyNonce({ issuingCard: cardId });
const nonce = nonceResult.nonce;
(my useEffect, which get the nonce)
Ah! That's indeed the problem! To create the nonce on the connected account, stripeAccount should be included when initialising stripe promise: https://docs.stripe.com/connect/authentication?create-client=react
Oh ! Thank you so much. I completly missed this part (I searched for many hours in documentation yesterday without finding it), you saved my day
No problem! Happy to help 😄