#daniel_prb-style
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/1282824670609150046
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
daniel_prb-style
Apple Pay appears like this
Are you maybe mixing up the docs or integration paths? That picture to me looks like PaymentElement but the docs you shared are for a completely different integration path via the PaymentRequestButton element
Just using the docs as reference for the Apple Pay request button… any way of getting that button to show on the PaymentElement?
Like this ideally
No that's impossible. They are completely different integration paths. It's not possible to style that ApplePay button inside PaymentElement at all.
What you likely want, and haven't figured out yet, is to combine PaymentElement and ExpressCheckoutElement. They are different elements and the latter focuses on wallets such as ApplePay and GooglePay (and replaces the deprecated PaymentRequestButton for which the docs you found)
If you integrate both, we are "smart" and don't show ApplePay instead PaymentElement
I recommend going through https://docs.stripe.com/elements/express-checkout-element/accept-a-payment to start
Thanks, so loading both at the same time on the page above each other?
yes