#vilepala_error
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/1308216407187652670
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- vilepala_code, 12 hours ago, 10 messages
Hello! Can you link me to the payment page where Google Pay isn't working?
hey, what do u mean excatly?
like i have android mobile application and i cant get google pay working
This is the image of the error
Oh, I see. How is Google Pay implemented in your app? Are you using the Stripe React Native SDK?
Can you share your confirmPlatformPayPayment code?
do i need to confirm it even tho im only publishing in google play store?
at least applepay works without it
Not sure I understand. How would you get paid if you don't confirm? I think I need much more context.
const { error } = await initPaymentSheet({
setupIntentClientSecret: clientSecretIntent,
customerId: customerId,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: clientSecret,
merchantDisplayName: RegisteredName,
style: "alwaysDark",
merchantCountryCode: "FI",
googlePay: {
merchantCountryCode: "FI",
currencyCode: "EUR",
label: RegisteredName,
amount: totalAmount,
buttonType: "Pay",
},
appearance: {
borderRadius: 10,
font: {
scale: 1.15,
},
colors: {
primary: "#FFBF00",
backgro
i must have misunderstood something. i thought confirmPlatformPayPayment is meant to confirmt that user has android device that is supported in google pay
Oh, you're using the Payment Sheet, that's the piece I was missing.
but i dont have confirmPlatformPayPayment in the ios version also and applepay works still
oh okay ๐
yeah mb
Do you have Google Pay enabled in your manifest? https://docs.stripe.com/google-pay?platform=react-native#react-native-create-enable-google-pay
Im using expo so i dont have excatly the manifest but i have enabled it in the app.json
"plugins": [
"@react-native-firebase/app",
"@react-native-firebase/auth",
"@react-native-firebase/crashlytics",
[
"expo-build-properties",
{
"android": {
"minSdkVersion": 24,
"compileSdkVersion": 35
},
"ios": {
"useFrameworks": "static"
}
}
],
[
"@stripe/stripe-react-native",
{
"merchantIdentifier": "6816-0410-1623-3725",
"enableGooglePay": true
}
],
"expo-font"
]
}
}
docs her
According to those docs Google Pay isn't supported: https://docs.expo.dev/versions/latest/sdk/stripe/#google-pay
Yeah thats expo go
The light development app that you can find in appstore
But i have development build
Okay, so in your development build have you enabled Google Pay in the manifest?
You'll have to bear with me, I'm not a React developer, but I thought you could access and change the manifest in a development build, right?
Its ok no problem
Yeah if you make applications in fully react native then you can edit manifests in android and ios
But if you use expo for developing like i do then the expo itself wraps the react native code and builds the application based on configs like in app.json
Gotcha.
Let's back up a bit. Have you followed all of the steps here? https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-google-pay
Yeah
Tho i dont really understand the googlepay wallet api
Like in other sources state that stripe handles that end and in other sources that i need to โrequestโ some kind of permission from that api or idk
Have you submitted your app for production access? See here: https://stackoverflow.com/questions/76655117/or-bibed-11-error-in-google-pay-api-for-production-environment
I think it's these steps: https://developers.google.com/pay/api/android/guides/test-and-deploy/publish-your-integration
Like where do i need to submit it and whats production acces
Hmm okay i will proceed on that one
Are those instructions what you're looking for?
Yeah probably
Well super thanks to you for helping i will try that out tomorrow
Starting to get too late in finland
Good luck with it!