#julio-googlepay-reactnative
1 messages ยท Page 1 of 1 (latest)
Hello! First, what do you see on https://stripe.com/docs/stripe-js/elements/payment-request-button?
not sure what your asking for, im not using stripe JS
at the top of the page, there's the PaymentRequest button, it helps to confirm that your device is properly configured with Google Pay. So I'm asking what you see on that page at the top
yes on the device where you are trying your RN app
ok a bottomSheet appear and i can choose between two accounts
I don't know what you call "a bottomSheet" appears I'm sorry. I just need to know if you see the exact button I see
ahh
i see the Gpay button
when i press it, a bottomSheet ( some sort of a modal but not taking the entire screen ) appears and i can choose with which account i must pay
Okay can you share a bit more details like your exact code?
ok this is my configuration initPaymentSheet
customerId: intent.customer,
customerEphemeralKeySecret: intent.ephemeralKey,
setupIntentClientSecret: intent.setupIntent,
merchantDisplayName: STRIPE_MERCHANT_DISPLAY_NAME, // mandatory on Android
primaryButtonColor: theme.callToAction,
googlePay: true,
applePay: true,
merchantCountryCode: 'FR',
style: 'alwaysLight',
testEnv: true,
})```
build.gradle looks like this
thanks let me ask my team I'll be back when I have some advice
do you have a PaymentIntent id?
rather a SetupIntent ? do you want specific one ?
okay so my colleague says that because you use SI you have to explicitly pass a currency
yeah, give me a few minutes I'll give you a more explicit answer
we need to fix it in the library, it's being worked on in https://github.com/stripe/stripe-react-native/pull/774
until that's merged unfortunately GPay won't work with a SetupIntent.
as soon as possible! I'll bump this internally again. And no workaround for now unless you modify the React Native SDK yourself, which is really not feasible.
so for now I'd just carry on with the rest of the integration and keep an eye out for updates to the SDK