#danilkinkin_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248295113776566324
đ Have more to share? Add details, code, screenshots, videos, etc. below.
So if I use wallets, then I got an error in console "It looks like you're using the legacy 'wallets' option. It is advised to switch to the newer option, 'paymentMethods'. For more information, see https://docs.stripe.com/js/elements_object/create_express_checkout_element."
Looking
Thanks for reporting
Yeah I don't see it in the types: https://github.com/stripe/stripe-js/blob/master/types/stripe-js/elements/express-checkout.d.ts#L295-L326
We'll flag this to the team, but our types tend to lag behind the api updates unfortunately
For now, you'll need to do a @ts-ignore to ignore type checking for that piece
How long ago did wallets options become deprecated?
I think like ~4 weeks ago