#ozair_code
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/1437556670027927714
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there! The link you provided doesn't seem to work - can you double check to see if you sent the right one?
Ah got it - taking a look now
Still looking at this. It's definitely in the codebase if you're using the most recent version of React Stripe.js (as of v5.2.0)
https://github.com/stripe/react-stripe-js/blob/master/src/components/FinancialAccountDisclosure.tsx
One thing that's a little odd to me is that the component uses export default at the end of the file
export default FinancialAccountDisclosure;
Which implies you would import it like
import FinancialAccountDisclosure from '@stripe/react-stripe-js'
(without the curly brackets)
Can you try that real quick just as a sanity check?
ok
'JSX element type 'FinancialAccountDisclosure' does not have any construct or call signatures.'
Does not work either sir
๐ Hello, nobs had to head out, I''ll be taking over the thread ๐ Just getting caught up real quick
ok
still looking into this. I presume you already have the proper permissions for this?
yea i can access the link haha
maybe access to this component is via some gated version? Im not sure
๐ @nova walrus this is a "secret feature" since it's not public. We usualy can't help with those on Discord as we don't have access either. I recommend working directly with the person who gave you access, or support if it was them for 1:1 help instead.
My guess is that the code example is wrong and should include some kind of "beta flag" when initializing Stripe.js (though not sure I'm just guessing)
i see. ok let me drop an email
Also: are you including the right Stripe.js version?
I think this might only be on the Clover release
nope tested and works on Acacia and Basil too
Hum are you sure? There's no such thing as 8.3.0
our releases are https://github.com/stripe/react-stripe-js/releases and we're at 5.3.0
looks like we added this in 5.2.0 https://github.com/stripe/react-stripe-js/releases/tag/v5.2.0 back in early October so you likely are just on an older version of the JS SDK
okay so you are on 5.3.0? because the code here show this element as supported/added recently and it was in that release
gotcha then my guess is they added the element and forgot to add the proper types. So I'd recommend working with the person who gave you access (and we'll flag too)
ok
Yeah I think they just forgot to add those types to https://github.com/stripe/react-stripe-js/blob/dfbdf22a920d27d5010c45442fc525d7ad80f18d/src/types/index.ts#L370 like we do for other elements ๐คฆโโ๏ธ