#kevin_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/1425424212163563606
๐ 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.
- kevin_docs, 1 day ago, 9 messages
- kevin_code, 5 days ago, 23 messages
- kevin_code, 6 days ago, 15 messages
hey there! the default value for options.wallets.applePay is auto, so you only need to set this param if you want to set it instead to never, to prevent Apple Pay from being presented
that said, you can access it using the options prop within the React component
https://docs.stripe.com/sdks/stripejs-react?ui=embedded-components#element-components
I'm using this version "@stripe/react-stripe-js": "4.0.2", and the wallets doesn't exist in options props
ok, taking a deeper look
can you confirm which version of the Stripe.js library you're using?
Yep I'm using this ๐
"@stripe/react-stripe-js": "4.0.2",
"@stripe/stripe-js": "7.9.0",
looks like you're using a current version, so could you share the exact code that's failing when you try to use this property?
Yup it's TS saying this props doesn't exist
based on the error, it looks like you're passing this property when creating the instance of Elements
the property should instead be passed to the PaymentElement Component
if you can share the actual code I can take a closer look
Oh I'm so dumb ๐ญ Thanks a lot ๐
It's okay now thanks
๐
You can close the thread if you want ๐
Absolutely no problem of course, glad this helped!