#meh
1 messages · Page 1 of 1 (latest)
You can do this by using the Express Checkout Element
But nothing automatically within payment element itself, no
i have that working but the issue is that the Express Checkout options appear in both areas
You mean the wallets appears in PE too?
alright. that only shows apple and google. can i get link to not appear in both?
Hmm let me see
Can you share your code for initializing those two elements?
layout: {
type: "tabs",
defaultCollapsed: false,
},
wallets: {
applePay: "never",
googlePay: "never",
},
};
const paymentElement = window.$stripe.elements.create(
"payment",
paymentElementOptions
);```
window.$stripe.elements.create("expressCheckout");```
Thank you!
($stripe is a holder object for all the stripe elements on the page so i don't have to coordinate multiple vue components)
So this option exists for the card element but I'm not currently seeing an equivalent in the other two elements. Still looking... https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-disableLink
sounds like we found something that possibly got overlooked!
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
yeah i would have thought it as well
I will consult my colleagues on this and get back to you. Still not finding anything myself
thanks best of luck!
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.