Closed MudFahmi closed 1 year ago
Hi @MudFahmi I'm unable to reproduce this error on https://google-pay-react.stackblitz.io
it take much time to load sometimes and failed at least and sometimes failed directly without loading
and this happens with me when using safari only, it's working fine when use chrome
@MudFahmi Thank you. Unfortunately I'm not able to reproduce this.
As a mitigation, you might consider implementing the onError
callback:
https://github.com/google-pay/google-pay-button/blob/812855408177dfa7a022849566bdd298ed477231/examples/react/src/examples/OnErrorExample.tsx#L61-L67
Like this you can hide the button in those cases.
Describe the bug safari browser couldn't load the script 'https://pay.google.com/gp/p/js/pay.js'
To Reproduce Steps to reproduce the behavior:
Expected behavior Browser should load the script and show the google pay button
Screenshots
Component information:
@google-pay/button-react
)@google-pay/button-element
)@google-pay/button-angular
)Environment: