#QuiTe-prb
1 messages · Page 1 of 1 (latest)
hi there! In general it's handled for you, you don't need to add any event listener.
https://stripe.com/docs/stripe-js/elements/payment-request-button
you'd only need to handle the click when using a custom button(which is possible though we don't have docs for it). I can try to help if you can clarify overall what you've built so far and what the problem you're running into is
I want to check user infomation before open google payment form
i want to check if customer filled all info
in general that's not recommended since the design of Apple/Google Pay is a 'one-click' payment popup, you should try to not present the button until you're sure the customer has provided everything you need
but you can try using a custom button
(https://stripe.com/docs/js/payment_request/show
example https://jsfiddle.net/v7wL7pbu/)
but it's more work and the button won't be branded as Google/Apple by default