#anroche_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/1291007331043246080
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- anroche_error, 24 minutes ago, 9 messages
Hi, the Request ID you shared doesn't contain an error.
Are you using Stripe Connect?
It's likely that the SetupIntent exists on a different Stripe Account than the API keys you're using for the erroneous call.
yes we're using stripe connect
I see that this SetupIntent was created on the Platform account. Are you trying to confirm it on a Connected account?
I will be able to tell you if you share the actual Request ID with the error.
on web with react it's working , but not on the react-native app but using the same api key
On web using : import { loadStripe } from '@stripe/stripe-js';
import { Elements } from '@stripe/react-stripe-js';
on app using : import { StripeProvider } from '@stripe/stripe-react-native';
I will able to quickly tell you what's the issue if you share the correct Request ID.
Where do you see the error exactly? Could you share a screenshot?
This is the error log of const { error, setupIntent } = await confirmSetupIntent(...
The only reason for this could be that you're using the wrong credentials, since the SetupIntent exists on a different account. Could you double check this please?
i have found : i have to comment the stripeAccountId as you say <StripeProvider
publishableKey={stripeSetupIntent.stripeInitializerKey}
// stripeAccountId={stripeSetupIntent.stripeAccountId}
>
<NewCardForm
dismiss={dismiss}
onChange={changeHandler}
paymentMethodInfo={paymentMethodInfo}
stripeSetupIntent={stripeSetupIntent}
ref={newCardFormRef}
setIsConfirming={setIsConfirming}
/>
</StripeProvider>
Yes, because then you're searching for the SetupIntent on the Connected account, instead of the Platform.
But is is what you want to achieve?
Do you want to create direct charges or destination charges?
It's only to test the error message handler