#bootsy_wallets-in-payment-element
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/1442987982624657439
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
automatic_payment_methods and payment_method_types are mutually exclusive. When using automatic payment methods it uses your Payment Method Configuration settings to determine what Payment Methods to use.
Do you have cards enabled in your Payment Method Configuration?
here?
Looks like you have Apple Pay and Cards enabled. When you are using automatic_payment_methods and not specifying a type you mention you see all the enabled methods. Is apple pay among them?
ah ok, i guess it worked. i must've tested wrong. you know if it's possible to make the card accordion expanded by default?
i imagine apple pay doesn't show up cuz i'm not in safari, running local, etc
With apple pay there are a few extra requirements to be mindful of. The first is Payment Method Domain registration.
The second is the Apple Device must have a real card added to it's wallet (even if you only intend to use test cards)
Safari is another.
https://docs.stripe.com/payments/payment-methods/pmd-registration
This test wallet page can be useful to determine if your device meets a given wallets requirements.
https://docs.stripe.com/testing/wallets
If you can see Apple Pay here for example, then you know the browser is compatible.
cool. yeah i've figured out that before. any ideas on opening the card accorrdion by default
should be able to specify a defaultCollapsed value to false when creating the element.
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-layout-defaultCollapsed