#ar11_error

1 messages ¡ Page 1 of 1 (latest)

sweet siloBOT
#

👋 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.

grim crypt
#

Hi there

wide lion
#

let me give that a try

#

can you also explain how to fix the __shared_params__ warning? i'm more concerned about this

grim crypt
#

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?

wide lion
#
<AddressElement
  options={{
    mode: "billing",
  }}
/>

AddressElement is in a component that's a child of:

<Elements
  stripe={stripePromise}
  options={{
    clientSecret: stripeClientSecret,
    appearance: { theme: "stripe" },
  }}
>
grim crypt
#

Can you share more of your code? Ideally down to the line that is returning that error

wide lion
#

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

grim crypt
#

Does the AddressElement render as expected?

wide lion
#

yep, it does. But the console message This may cause issues with your integration in the future. is concerning

grim crypt
#

Can you share what other software? Does that other software manage any Elements on your behalf?

wide lion
#

i think if it breaks here, it'll probably be a UI issue. So I think it should only be a client-side