-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production Android Build Not Connect With Reader With Live_Stripe_KEY Using v0.0.1-beta.16 Version. #711
Comments
@abhijitCN I am also experiencing a similar issue, I'm testing out a Production build on Android and am getting an error back from stripe when attempting to connect using |
@mikrich Thanks for the response, In our project, location is coming from the backend API I passed the location ID in Stripe. after that I call connectLocalMobileReader() function, and in throw the error the reader is not connecting. Below Code where I getting error. async function connectMobileReader() { |
what message do you see when you log out |
I was facing a different issue |
@mikrich Which Stripe Terminal React Native SDK version are you using? |
@abhijitCN the latest v0.0.1-beta.18 |
@mikrich can you please look into this and assist me. |
@abhijitCN this message will show if you don't provide a |
Hi, @mikrich I have a query that my Screen Short Error and your error are the same? |
I'm getting the same error (in test mode), and I know that: (1) I'm the location id from the correct Stripe account/dashboard that is connected in test mode Android stripe-terminal sdk v2.19.0 Logcat shows this:
|
@dshalaby are you using the Android SDK directly? the repo for that is https://github.com/stripe/stripe-terminal-android/issues |
Im running into this same issue, any chance you could share how you have your connection token endpoint set up in your backend? |
@nazli-stripe Yes I was thank you, sorry for the late reply. @CarlMenke My connection token endpoint was working fine in so far as the Stripe SDK. Our issue was something internal in our application rather than anything on the Stripe side. In our case this error was coming about because of a conflict in the initial Connect OAUTH token grant and our connection token endpoint. |
When we use the simulated true option, both Android and iOS work perfectly. However, when we set it to false, the reader does not connect. Calling connectLocalMobileReader() returns an error.
Below I have added my code, please review it once.
Screenshot
Stripe Terminal React Native SDK version
I have used the below listed devices
Additional context
{YOUR BACKEND URL}/connection_token
using this ConnectionToken in index.jsCall initialize in app.js
@nazli-stripe @billfinn-stripe can you please look into this and assist me.
The text was updated successfully, but these errors were encountered: