#Ender1776 [syndicate]
1 messages · Page 1 of 1 (latest)
👋
good morning/afternoon
just figured i'd provide what I found yesterday when working on the gpay side
Yep really helpful. I missed that confirmPP does not support GooglePayPaymentMethodParams which includes Shipping
I'll have to check with our React Native Eng for why that is
sounds good, thanks. Not sure if there is a public version of that ticket that allows watching or notifying, but I'm done with my work on this part of the task, so will just check back on occasion I guess to see if/when we'll be able to get GPay to parity with the Apple side. Thanks
Yeah only an internal ticket at the moment. If you want, you could submit a summary in an issue on our React Native repo (https://github.com/stripe/stripe-react-native) and that will get updated as features are released or updated. Our React Native Eng team does correspond with merchants directly on that repo when issues are opened.
Going to actually ask internally why this isn't supported on confirmPP since I'm curious. Might be able to circle back in a few with more details.
Okay someone is going to look in about an hour when they get a free minute so I'll circle back.
Okay @plush spire so for an update it turns out that the fact that you can't collect Shipping with confirmPP is actually a limitation currently of the underlying Android SDK which the React Native SDK hooks up to for Google Pay -- there are actually two different flows there (https://stripe.dev/stripe-android/payments-core/com.stripe.android/-google-pay-json-factory/index.html vs. https://stripe.dev/stripe-android/payments-core/com.stripe.android.googlepaylauncher/-google-pay-launcher/index.html) and one supports this while the other doesn't. I'm filing a ticket with our Android SDK team to get parity there for shipping so then it can be added to the React Native SDK as well.
On the createPlatformPayPaymentMethod() side of things, our React Native team confirmed that they believe it should be possible to pass back shipping in the client response here so they have a ticket open to work on that in the future. I can't promise a timeline on that though.
As noted above, you could either open up an issue on the repo for this shipping address or you can follow along with the Changelog (https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md) which will be updated with a snippet when this gets added to a new version