#marc_thomas - Payment Request Button

1 messages ยท Page 1 of 1 (latest)

toxic spindle
#

Hi ๐Ÿ‘‹

#

So you're looking for an event that is fired when the user first clicks the Payment Request button?

#

I do not think we expose the 'click' event on the Payment Request Button

#

I just tested this myself and I don't see the event firing

pseudo spade
#

shoot. our baskets have a timer on them to expire after a 10 minutes so I need to pause the timer when the user clicks the button.

toxic spindle
#

Well you can try adding a listener to the document.querySelector('button.GooglePayButton') element. I'm trying to test that now but people keep asking questions ๐Ÿ˜