#bojack420
1 messages · Page 1 of 1 (latest)
I am using express-checkout-element btw
Hmm... off the top of my head I don't know of a built-in way to do this - the only options I can think of would be hiding it entirely until they've accepted the terms and conditions
Yeah I had a skim in the documentation and couldn't see anything. I know when you start a checkout with google pay it greys out as the user started payment. So even if there is a way to basically just force that functionality would be good
or is there a way to display text on apple and google pay and have the expressCheckoutElement.on('click', (event) => {
check if the terms of service button has been checked
I've just had a further skim. im guessing there is this https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-disabled
That's only for the card element though
It wouldn't apply for the express checkout element
ah ok
Really I don't think we have anything that would help you here - you'd have to build out something custom yourself, like figure out how to make an overlay on top of it so they can't click the checkout button until they've accepted your terms
Yeah I was just thinking something like that too. Definitely worth adding in some point in the future as I'd imagine my use case is pretty common.
I'll be sure to flag to the team as feedback!