#meh

1 messages · Page 1 of 1 (latest)

solar turretBOT
alpine elm
#

You can do this by using the Express Checkout Element

#

But nothing automatically within payment element itself, no

pure granite
#

i have that working but the issue is that the Express Checkout options appear in both areas

alpine elm
#

You mean the wallets appears in PE too?

pure granite
#

yes

pure granite
#

alright. that only shows apple and google. can i get link to not appear in both?

alpine elm
#

Hmm let me see

solar turretBOT
alpine elm
#

Can you share your code for initializing those two elements?

pure granite
#
      layout: {
        type: "tabs",
        defaultCollapsed: false,
      },
      wallets: {
        applePay: "never",
        googlePay: "never",
      },
    };
    const paymentElement = window.$stripe.elements.create(
      "payment",
      paymentElementOptions
    );```
#
      window.$stripe.elements.create("expressCheckout");```
solar sparrow
#

Thank you!

pure granite
#

($stripe is a holder object for all the stripe elements on the page so i don't have to coordinate multiple vue components)

solar sparrow
pure granite
#

sounds like we found something that possibly got overlooked!

solar sparrow
#

Yeah, not sure. I would have thought that we would automatically hide Link from one or the other automatically, like what we do with the Address Element and Payment Element

pure granite
#

yeah i would have thought it as well

solar sparrow
#

I will consult my colleagues on this and get back to you. Still not finding anything myself

pure granite
#

thanks best of luck!

solar sparrow
#

Unfortunately it looks like this is not possible currently. I'll put in a feature request because I definitely get why you'd only want it to show in one place.