#vilepala_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247667743822708827
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there!
Just to be clear, does this mean that GooglePay is not being shown to you in the payment sheet at the moment? Do you have a card saved to your GooglePay wallet?
yes on both ๐
Can you share a link to a guide/reference you're following?
Hi ๐ I'm stepping in here to offer some support.
hi
Do you pass the googlePay parameters when tyou initialize the Payment Sheet?
oh, guess i didnt
Here's the doc for the function: https://stripe.dev/stripe-react-native/api-reference/index.html#initPaymentSheet
And you can see the parameter options here: https://stripe.dev/stripe-react-native/api-reference/modules/PaymentSheet.html#SetupParams
Well that's tricky. You can see the function definition here: https://github.com/stripe/stripe-react-native/blob/327d8e6/src/types/PaymentSheet.ts#L13
Most will default to null just fine but then components of the PaymentSheet won't work
But you need to create a googlePay params object: https://stripe.dev/stripe-react-native/api-reference/modules/PaymentSheet.html#GooglePayParams
and pass that in