#ar11_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/1351299438013972531
đ 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.
- ar11_api, 3 days ago, 6 messages
Hi there
You can pass never for both wallets when creating the PaymentElement: https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-wallets
let me give that a try
can you also explain how to fix the __shared_params__ warning? i'm more concerned about this
I'm not exactly sure what that error is referring to. Can you share the section of your code that is attempting to create the AddressElement?
<AddressElement
options={{
mode: "billing",
}}
/>
AddressElement is in a component that's a child of:
<Elements
stripe={stripePromise}
options={{
clientSecret: stripeClientSecret,
appearance: { theme: "stripe" },
}}
>
Can you share more of your code? Ideally down to the line that is returning that error
that console warning is being caused by the presence of
<AddressElement
options={{
mode: "billing",
}}
/>
If I remove this, the warning goes away.
AddressElement is imported from @stripe/react-stripe-js. Seems like an issue with the library
Does the AddressElement render as expected?
yep, it does. But the console message This may cause issues with your integration in the future. is concerning
Can you share what other software? Does that other software manage any Elements on your behalf?
i think if it breaks here, it'll probably be a UI issue. So I think it should only be a client-side