#aaparth-apple-google
1 messages · Page 1 of 1 (latest)
Hi there, for checking if Apple Pay is available for the browser, I found this guide: https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api/checking_for_apple_pay_availability
okay and for Google pay ?
okay let me check
Which Stripe integration are you using to allow the use of Apple and Google Pay? For your information, we offer an official guide to implementing a Payment Request Button: https://stripe.com/docs/stripe-js/elements/payment-request-button
Hope this helps!
yes we are using payment button only
There are some specific requirements for the different payment method implemented with Payment Request Button: https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-testing
okay
yes we have those but wanna hide Apple Pay if user is using the chrome and hide google pay if user is using Safari
I see, this is a great idea!
I found some example code that might be helpful: https://stackoverflow.com/questions/5916900/how-can-you-detect-the-version-of-a-browser