google-pay-button icon indicating copy to clipboard operation
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

Open asha-tech opened this issue 3 years ago • 2 comments

This question is related to:

  • [ ] React component (@google-pay/button-react)
  • [ ] Custom element (@google-pay/button-element)
  • [x] Angular component (@google-pay/button-angular)

asha-tech avatar May 13 '22 00:05 asha-tech

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.

socsieng avatar May 30 '22 03:05 socsieng

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

asha-tech avatar Jun 12 '22 16:06 asha-tech

Duplicate: See https://github.com/google-pay/google-pay-button/issues/132

dmengelt avatar Dec 08 '22 10:12 dmengelt