google-pay-button
google-pay-button copied to clipboard
Is there a way we can call isReadyToPay method using Angular Component? Need a way to find-out device capable of googlepay or not before my page starts display
This question is related to:
- [ ] React component (
@google-pay/button-react) - [ ] Custom element (
@google-pay/button-element) - [x] Angular component (
@google-pay/button-angular)
Depends on what you mean by before my page starts to display.
The readyToPayChangeCallback method or readytopaychange event can be used to handle the results of the component's internal isReadyToPay check.
yes. I tried these 2 methods. These are working fine in chrome and firefox but not in Safari. Don't see this event is being recieved in Safari? Please suggest how I need to solve this
Duplicate: See https://github.com/google-pay/google-pay-button/issues/132