stripe-react-native
stripe-react-native copied to clipboard
Google Pay Button In PaymentSheet not compliant with Google Brand Guidelines
Is your feature request related to a problem? Please describe. Our integration is not being approved because the google pay button in our app does not meet Google's brand guidelines
Screen shot of payment sheet using the latest version

New brand guidlines
https://developers.google.com/pay/api/android/guides/brand-guidelines#style
thanks! this is in progress now :)
@charliecruzan-stripe I noticed also the google pay button (not in the payment sheet ) is not compliant. Do you want me to create a separate ticket for that one or will you fix it along with this one?
@charliecruzan-stripe Hello! What is the status of the ticket, is it done or still in progress?
We just fixed this in payment sheet in stripe-android, so pulling in that fix today!
@charliecruzan-stripe Thanks for the update! What if use GooglePayButton, will it be changed as well according to the new Brand Guidelines?
Or it's only for PaymentSheet?
That has also been updated 👍
Released in 0.19.0
Hi @charliecruzan-stripe
I'm currently using React Native Expo and the library version
"expo": "46.0.10", "@stripe/stripe-react-native": "0.13.1"
It seems that the Google Pay button hasn't been updated yet.
When I created the Google Pay button from import { GooglePayButton } from '@stripe/stripe-react-native'.
I still got the old style which is not compliant with Google Brand Guidelines.
How should I do?
Thank you in advance
You'll need to upgrade to v0.19.0 - https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md#0190---2022-09-16--expo-sdk-47
Thanks @charliecruzan-stripe
Does this mean I have to upgrade Expo SDK from 46 to 47 as well?
Yes
google pay button is not displaying in my bottom sheet i add. await Stripe.instance .initPaymentSheet( paymentSheetParameters: SetupPaymentSheetParameters( paymentIntentClientSecret: clientSecret, style: ThemeMode.light, merchantDisplayName: 'Student Bro', googlePay: const PaymentSheetGooglePay( merchantCountryCode: 'GB', currencyCode: 'GBP', testEnv: true ), ), ) this code