Skip to content
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

USB_PERMISSION_DENIED error #231

Closed
Mike-Android-Chow opened this issue May 10, 2022 · 9 comments
Closed

USB_PERMISSION_DENIED error #231

Mike-Android-Chow opened this issue May 10, 2022 · 9 comments

Comments

@Mike-Android-Chow
Copy link

Mike-Android-Chow commented May 10, 2022

The first time use usb to connect the reader , there is a dialog popup
image
When I click the "OK" , then give me the discovery reader failed callback , the errorCode is TerminalException.TerminalErrorCode.USB_PERMISSION_DENIED.

SDK version : 2.9.0

@chenmin-stripe
Copy link
Contributor

Hi @minjie0707 ,
I saw two failed discoverReaders for your reader within past 24 hours. I also saw two success discoverReaders right after the failed one. Could you let me know if you succeed discovered reader after the failed one?

Could you also try check the box to allow permanent usb permission?

@Mike-Android-Chow
Copy link
Author

Hi @minjie0707 , I saw two failed discoverReaders for your reader within past 24 hours. I also saw two success discoverReaders right after the failed one. Could you let me know if you succeed discovered reader after the failed one?

Could you also try check the box to allow permanent usb permission?

Because we re-try it again after failed , this time will be succeed .
I think this is a new issue in 2.9.0 . It is fine in 2.7.1

@chenmin-stripe
Copy link
Contributor

Hi @minjie0707 , did the issue happened to you consistently? First attempt always failed while second will succeed?

@Mike-Android-Chow
Copy link
Author

Hi @minjie0707 , did the issue happened to you consistently? First attempt always failed while second will succeed?

yes, it is happened consistently.

@chenmin-stripe
Copy link
Contributor

Hi @minjie0707 , could you try to check the box to allow permanent permission to see if that resolves the issue?

@Mike-Android-Chow
Copy link
Author

Hi @minjie0707 , could you try to check the box to allow permanent permission to see if that resolves the issue?

This issue also happened when I check the box

@Mike-Android-Chow
Copy link
Author

@chenmin-stripe Could you try it yourself ?

@chenmin-stripe
Copy link
Contributor

Hi @minjie0707 , we have identified the issue and working on the fix. Aiming to have the fix released in 2.10.0. Thanks for your patience.

@sjl-stripe
Copy link
Collaborator

@minjie0707 we've just released v2.10.0 with the fix.

AnirudhBhat added a commit to woocommerce/woocommerce-android that referenced this issue May 25, 2022
ChangeLog:
2.10.0 - 2022-05-23
New: Added currency characters to WisePad 3 display. See stripe/stripe-terminal-android#147 for details.
New: Refunds can now be collected when using a simulated reader. See stripe/stripe-terminal-android#226 for details.
Update: When connecting to Internet Readers, the SDK uses an embedded DNS to resolve reader IP addresses. This resolves an error experienced by users of some DNS providers.
Fix: Resolved USB_PERMISSION_DENIED error after granting permission. See stripe/stripe-terminal-android#231 for details
AnirudhBhat added a commit to woocommerce/woocommerce-android that referenced this issue May 25, 2022
ChangeLog:
2.10.0 - 2022-05-23
New: Added currency characters to WisePad 3 display. See stripe/stripe-terminal-android#147 for details.
New: Refunds can now be collected when using a simulated reader. See stripe/stripe-terminal-android#226 for details.
Update: When connecting to Internet Readers, the SDK uses an embedded DNS to resolve reader IP addresses. This resolves an error experienced by users of some DNS providers.
Fix: Resolved USB_PERMISSION_DENIED error after granting permission. See stripe/stripe-terminal-android#231 for details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants