braintree / braintree-web

A suite of tools for integrating Braintree in the browser
https://developer.paypal.com/braintree/docs/start/hello-client/javascript/v3
MIT License
444 stars 134 forks source link

Safari don't show Google Pay button from time to time #700

Closed CyrilKrylatov closed 1 year ago

CyrilKrylatov commented 1 year ago

General information

Issue description

Hello,

I'm encountering an issue with braintree-web/google-payment when using Safari. Occasionally, Safari seems to halt the execution of my script without throwing any errors; it simply stops.

You can review my Stimulus component at this link

At line 41, there's a console.log(). It appears that this is the point where Safari stops processing and doesn't proceed further.

I'm puzzled by this behavior. On refreshing my browser once, the Google Pay button appears. However, upon subsequent refreshes, it sometimes doesn't show up.

Are you aware of any known issues or limitations concerning Safari and the Google Pay button?

Thank you for your assistance.

Have a great day!

jplukarski commented 1 year ago

Hey @CyrilKrylatov , thanks for writing in! I am not able to reproduce this in my own test app, and there are not any limitations with Google Pay and Safari to our knowledge.

I think this question is better suited for our support team, who can help you troubleshoot your integration. You can write in to our support team here -> https://developer.paypal.com/braintree/help

CyrilKrylatov commented 1 year ago

Thank you for your answer ; I'll contact them today.

Cheers and have a nice one!