Closed wislert closed 1 year ago
@wislert thanks for reporting this. are you able to reproduce the issue here: https://stackblitz.com/edit/google-pay-react-ecbhkg?file=src%2FApp.js
thanks for a quick feedback
When I removed the property existingPaymentMethodRequired this problem was gone.
Thanks for reporting back. If you specify existingPaymentMethodRequired=true
the result
and paymentMethodPresent
properties of the IsReadyToPayResponse
must return true
in order for the button to show up. This only affects the PRODUCTION
environment.
See the details here: https://github.com/google-pay/google-pay-button/blob/main/src/lib/button-manager.ts#L260
@wislert Does it work as expected for you now? If not, is there a way for me to reach your site? If this is not possible please share your full Google Pay Button config here. (specifically existingPaymentMethodRequired
and allowedPaymentMethods
)
Closing due to no feedback
Describe the bug: Button not appearing in Firefox/Safari
To Reproduce: Open the page with GPay Button
Expected behavior: Button works in all browsers
Screenshots Firefox:
Safari:
Chrome:
Component information:
@google-pay/button-react
)Environment: