#david-bd88_rn-platform-pay-update
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1503459333470552147
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is for android only
Hi ๐
In this case you are using the PlatformPay component to trigger the Google Pay flow.
i using my custom Gpay button only fro opening google sheet
What method are you calling to open the google sheet?
i guess this one confirmPlatformPayPayment
Okay, that is what I thought but it's important to confirm. I'm looking through our SDK reference docs for methods we expose to update the sheet. https://stripe.dev/stripe-react-native/api-reference/modules/PlatformPay.html
hmmm...
This function only exposes parameters for applePay: https://stripe.dev/stripe-react-native/api-reference/functions/updatePlatformPaySheet.html
yes in doc for react native do you have something about it ?
What do you mean "something about it?". That method is the only way I can see to update the pay sheet and it only works for Apple Pay currently.
The doc I sent you literally says:
iOS only. Update different items on the Apple Pay sheet, including the summary items, the shipping methods, and any errors shown. iOS only, this is a no-op on Android.
Unfortunately, not all the features in our RD SDK are available in both platforms
One way to handle this (it's not fun but it would work) would be to collect the shipping address up front. But I know that means you don't allow the customer to use their saved address in GooglePay
yes that's not what we need
Yeah that's what I thought.
david-bd88_rn-platform-pay-update