#daniel_docs
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/1313564179906691154
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Are you using the same instance of Stripe Elements for both, or are you creating two different instances?
Hi, i’m creating two different instances
Was told a while back the payment element is ‘smart’ and should not show i.e. apple pay if it’s already been loaded on the express checkout element
Unless there is a better way of doing this 🙂
It is smart, but it depends on you only creating a single instance of Elements.
You should basically never create two separate instances.
You should use a single Stripe Elements instance for the Express Checkout Element, the Payment Element, and any other Stripe Elements on your page.
Is there a working example of this anywhere?
Yeah, have a look here: https://4242.io/test/elements-recommended/
Okay, that’s great - i’ll try again later with that for reference 🙂