#vilepala_error

1 messages ยท Page 1 of 1 (latest)

hybrid mountainBOT
#

๐Ÿ‘‹ 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.

normal cedar
#

Hello! Can you link me to the payment page where Google Pay isn't working?

blissful steeple
#

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

normal cedar
#

Oh, I see. How is Google Pay implemented in your app? Are you using the Stripe React Native SDK?

blissful steeple
#

yep

#

"@stripe/stripe-react-native": "0.38.6",

normal cedar
#

Can you share your confirmPlatformPayPayment code?

blissful steeple
#

do i need to confirm it even tho im only publishing in google play store?

#

at least applepay works without it

normal cedar
#

Not sure I understand. How would you get paid if you don't confirm? I think I need much more context.

blissful steeple
#

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

normal cedar
#

Oh, you're using the Payment Sheet, that's the piece I was missing.

blissful steeple
#

but i dont have confirmPlatformPayPayment in the ios version also and applepay works still

#

oh okay ๐Ÿ˜„

#

yeah mb

normal cedar
blissful steeple
#

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

normal cedar
blissful steeple
#

Yeah thats expo go

#

The light development app that you can find in appstore

#

But i have development build

normal cedar
#

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?

blissful steeple
#

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

normal cedar
#

Gotcha.

blissful steeple
#

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

normal cedar
blissful steeple
#

Yeah thats excatly what i mean

#

Like i dont know what that means ๐Ÿ˜„

normal cedar
blissful steeple
#

Like where do i need to submit it and whats production acces

#

Hmm okay i will proceed on that one

normal cedar
#

Are those instructions what you're looking for?

blissful steeple
#

Yeah probably

#

Well super thanks to you for helping i will try that out tomorrow

#

Starting to get too late in finland

normal cedar
#

Good luck with it!