#ozair_code

1 messages ยท Page 1 of 1 (latest)

timber fractalBOT
#

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

modern flicker
#

Hi there! The link you provided doesn't seem to work - can you double check to see if you sent the right one?

nova walrus
#

I did but I think its permission gated.

modern flicker
#

Ah got it - taking a look now

timber fractalBOT
modern flicker
#

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?

nova walrus
#

ok

#

'JSX element type 'FinancialAccountDisclosure' does not have any construct or call signatures.'

#

Does not work either sir

vast night
#

๐Ÿ‘‹ Hello, nobs had to head out, I''ll be taking over the thread ๐Ÿ™‚ Just getting caught up real quick

nova walrus
#

ok

vast night
#

still looking into this. I presume you already have the proper permissions for this?

nova walrus
#

yea i can access the link haha

#

maybe access to this component is via some gated version? Im not sure

zinc heron
#

๐Ÿ‘‹ @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)

nova walrus
#

i see. ok let me drop an email

zinc heron
#

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

nova walrus
#

Yea for Stripe.js i was just using 8.3.0

#

not sure which one that is

zinc heron
#

Hum are you sure? There's no such thing as 8.3.0

nova walrus
#

ohh

#

ure referring to react-stripe-js

#

yea 5.3.0

#

8.3.0 is for @stripe/stripe-js

zinc heron
#

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

nova walrus
#

I am on 5.3.0

#

And i see this file as wel

zinc heron
#

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)

nova walrus
#

ok

zinc heron