#Edi-gpay-expo
1 messages · Page 1 of 1 (latest)
Hi, yes, I'm currently locked to 0.6.1 (due to Expo 45), but also tried 0.12.0 (latest), and the same thing happens.
I'm using the docs you have here, https://stripe.com/docs/google-pay
Yep, you need to setup your app with Google: https://pay.google.com/business/console
I've already done that, but in order to integrate with my android app, as they request
I'm asked to provide a screenshot of the flow.
And I'm not able to get those ... since it gives me an error.
In test mode?
Yes ..
This is the code, taken from Stripe's example.
I am creating the paymentintend clientsecret with the stripe test keys as well
Are you correctly initialising Google Pay in the app config?
"app config"?
<meta-data
android:name="com.google.android.gms.wallet.api.enabled"
android:value="true" />
it's react native, not android android
i think this only has to do with bare workflows though ..
let me try and check
Yup, but you should still have an AndroidManifest file. That example above is RN
Yeah, 1 min, i can try
@pine lotus Did that help?
No, it didn't
But I am checking something else
I already had that there, it's automatically added when you use expo managed workflow
I've forgot to add testEnv: true to initGooglePay
So, I'm making a new build, for the app to check if that sorts it.
Ah, yep. testEnv: false will require your app to be registered with Google