Google Pay Error on Expo. Works well on website not on android.
See original GitHub issueI’m getting a request failed, an unexpected error has occured. Please try again later. [OR_BIBED_07] error when I try to pay using google pay on my android app. Card payment works well. Apple pay works well. Gpay works well on my website.
I’m using payment sheets on my expo app.
I’m passing the right paymentSheets parameters.
const res = await initPaymentSheet({
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
applePay: true,
googlePay: true,
merchantCountryCode: 'AE',
merchantDisplayName: "***",
customFlow: false,
style: 'alwaysDark',
testEnv: false
});
I’ve set my plugins in my app.json file.
"plugins": [
[
"@stripe/stripe-react-native",
{
"merchantIdentifier": "merchant.com.***,
"enableGooglePay": true
}
]
]
Am I missing something else?
Issue Analytics
- State:
- Created a year ago
- Comments:17
Top Results From Across the Web
Google Pay not working? Here's a few quick fixes
Google Pay not working? Here's a few quick fixes · Update the Google Pay App · Check Your Phone Number · Verify Your...
Read more >Expo only working on web and fails on Android with multiple ...
Now I'm just wondering why the deployment to Android is not working. When I deploy it to web it works great without any...
Read more >Troubleshooting build errors and crashes - Expo Documentation
A reference for troubleshooting build errors and crashes when using EAS Build. ... For example, you might see something like this on your...
Read more >Authenticating Your Client | Google Play services
If you've published your app using Play App Signing, a requirement when using Android App Bundle, you can get your SHA-1 from the...
Read more >Stripe google pay error on expo : r/reactnative - Reddit
I've used stripe's paymentSheets on my expo app and Gpay doesn't work on android devices. Works well on my checkout sessions in my...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@charliecruzan-stripe where do I pass the google merchant id?
In the expo docs, it states merchantIdentifier is ios only:
merchantIdentifier: iOS only. This is the Apple merchant ID obtained [here](https://stripe.com/docs/apple-pay?platform=react-native). Otherwise, Apple Pay will not work as expected. If you have multiple merchantIdentifiers, you can set them in an array.
https://stripe.com/docs/google-pay?platform=react-native only mentions merchantIdentifier in the context of apple pay.
Gotchya, yeah that is what would cause this error for sure. I’m going to close this for now but let me know if that doesn’t fix it!