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

How to disable Tap to Pay on iPhone terms and conditions pop-up for certain users on reader connect? #709

Open
inzqne opened this issue May 24, 2024 · 1 comment
Assignees
Labels

Comments

@inzqne
Copy link

inzqne commented May 24, 2024

Hello,

I am currently developing an app that has a business-focused user hierarchy. I only want to show the terms and conditions pop-up that automatically shows up on reader connect to the appropriate admin users. If a non-admin user tries to connect to reader, I want a way to detect that terms have not been accepted by admin yet so that I can show them a message, is there an error that gets thrown for this in the react native SDK with a specific configuration?

This is also necessary by Apple in order to get approval for the distribution entitlement (see picture below). Is there currently no way of doing this with the react native SDK? Any help is appreciated!

image

@inzqne inzqne changed the title How to disable terms and conditions pop-up for certain users? How to disable terms and conditions pop-up for certain users on reader connect? May 24, 2024
@inzqne inzqne changed the title How to disable terms and conditions pop-up for certain users on reader connect? How to disable Tap to Pay on iPhone terms and conditions pop-up for certain users on reader connect? May 24, 2024
@nazli-stripe
Copy link
Collaborator

connectLocalMobileReader accepts a parameter called tosAcceptancePermitted that lets you control whether the terms and services modal should be displayed to the user: https://github.com/stripe/stripe-terminal-react-native/blob/82bc4df5/src/types/index.ts#L53

@nazli-stripe nazli-stripe self-assigned this May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants