#jesuisilya
1 messages · Page 1 of 1 (latest)
Hello, can you provide your code for these buttons?
<PlatformPayButton
onPress={createPaymentMethod}
borderRadius={50}
disabled={!isGooglePaySupported}
style={{
height: 40,
marginHorizontal: 20,
backgroundColor:'#ffffff',
}}
/>
And it's the same for both Apple Pay and Google Pay
Thank you. Will check with my colleagues on this and get back to you
Thanks!
When should I expect a response, roughly?
Still a bit of trouble looking in to it I would guess within the next 10-20 minutes? If you have to go we can move this to a support ticket and get back to you through there
It's okay, I can wait. Just worried that the thread could get automatically closed and I wouldn't get a response
So it looks like Google updated their brand guidelines and we updated our payment button in stripe-android to match. https://github.com/stripe/stripe-android/pull/6471
https://developers.google.com/pay/api/android/guides/brand-guidelines#style
That being said my colleague and I are not 100% sure this is intentional. Can you write in to our support and DM me your email so I can file this with the engineering team and get back to you?
Sure, what is the email address of your support?
I've emailed them using the form on https://support.stripe.com/contact/email?locale=en-GB
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I'll copy the email here as well as dm you just in case
Using PlatformPay in @stripe/stripe-react-native, Apple Pay button and Google Pay buttons don't look the same
<PlatformPayButton
onPress={createPaymentMethod}
borderRadius={50}
disabled={!isGooglePaySupported}
style={{
height: 40,
marginHorizontal: 20,
backgroundColor:'#ffffff',
}}
/>
I can't get Google Pay button to look the same as Apple Pay. I'm using PlatformPayButton from @stripe/stripe-react-native and the code is completely the same for both buttons. The weird thing is that when testing locally (I am using expo), the 2 buttons look identical in terms of shape, but after making a distribution build with EAS, Google Pay turns rectangular like this.
I was told by a member of the Stripe Developers discord channel to email you regarding this as they were not sure what the exact problem is.
Can't DM you unfortunately
Whoops I had that turned off. Can you try again?
Done
Oh sorry I meant your email address
So I can find the ticket to grab it.
Awesome, thank you. I grabbed that ticket and will get back to you via email once I have further info
Thank you very much for this, hope you have a good day
Same to you!