#brain_unexpected

1 messages ยท Page 1 of 1 (latest)

toxic nymphBOT
#

๐Ÿ‘‹ 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/1314252937995878512

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

boreal plover
#

Hello

vernal silo
#

Here's how it looks like:

#

It was working before, so unsure what the problem might be. Pretty sure it's not in the code.

boreal plover
#

Odd

#

Can you share the account ID that you are testing with?

vernal silo
#

Yup, one second

#

acct_1QOntgPsaWb8wQQC (test account)

boreal plover
#

Thanks, give me a moment to look

#

Can you also share your frontend code snippet actually?

vernal silo
#

Yup

boreal plover
#

Okay I can reproduce

#

Give me a few more minutes.

boreal plover
#

Okay we are investigating internally. I'll keep you updated but yes does look like a bug on our end.

vernal silo
#
  // Initialize Stripe Connect only once
  useEffect(() => {
    const initialize = async () => {
      try {
        setIsLoading(true);

        if (!stripeConnectPromiseRef.current) {
          stripeConnectPromiseRef.current = initializeStripeConnect(
            async () => {
              const session = await getAccountSession();
              return session.client_secret;
            },
            theme,
          );
        }

        const stripeConnect = await stripeConnectPromiseRef.current;
        stripeConnectRef.current = stripeConnect;

        if (isMounted && containerRef.current) {
          setIsLoading(false);
          componentRef.current = createAndMountComponent(
            containerRef.current,
            stripeConnect,
            "balances",
            setError,
          );
        }
      } catch (err: any) {
        if (isMounted) {
          setError(err.message || "Failed to initialize");
          setIsLoading(false);
        }
      }
    };

    initialize();
  }, [userId]);
[...]
            <div
              id="stripe-component-container"
              ref={containerRef}
              className="w-full min-h-[400px] max-h-[400px] p-2 sm:p-6 overflow-auto"
            />
          </div>
toxic nymphBOT
tulip compass
#

Hi ๐Ÿ‘‹

I am stepping in as my colleague needed to step away. We have a fix for this that we are currently working on.

vernal silo
#

๐Ÿ’ช

tulip compass
#

Fix deployed. Let me know if you are still encoutering this issue

vernal silo
#

Amazing. Great response time. Thank you so much!

#

Seems to be working fine again.

tulip compass
#

Wonderful! Thanks for the confirmation