#bojack420

1 messages · Page 1 of 1 (latest)

marsh pastureBOT
nimble lake
#

I am using express-checkout-element btw

red trellis
#

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

nimble lake
#

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

red trellis
#

That's only for the card element though

#

It wouldn't apply for the express checkout element

nimble lake
#

ah ok

red trellis
#

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

nimble lake
#

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.

red trellis
#

I'll be sure to flag to the team as feedback!

marsh pastureBOT