-
Notifications
You must be signed in to change notification settings - Fork 64
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
Tap To Pay reader - Detect merchant is already registered #252
Comments
Hi @AnshulMindbody the current recommendation is to attempt to connect with |
Based on your suggestion, we tried setting the let config = LocalMobileConnectionConfiguration(locationId: configuration.locationId, merchantDisplayName: configuration.businessName, onBehalfOf: configuration.accountName, tosAcceptancePermitted: false)
print(config.tosAcceptancePermitted) // This unexpectedly outputs true. We are currently using Stripe SDK 2.23.1. Any guidance or clarification on this matter would be appreciated. |
@AnshulMindbody sorry for the trouble here. There's a typo in that initializer's implementation 😞. If you use the This is fixed (unintentionally) in our just released 3.0.0 that requires using builders to build the connection configuration instances, but would require other changes. But passing the |
Hi, we just release v2.23.2 that has a fix to that initializer. If you update to that release you won't need the suggested work around. Thanks for reporting! |
Hi, @bg-stripe thanks for the update I want to use the method that apple has exposed isAccountLinked(using:) documentation.). Is there any way to use this method? |
@bric-stripe I would also like to add if we can use this method from Apple |
no, there's no support for this today and the SDK doesn't expose the token that would be needed for this. I'll provide the request for this to the team. It would likely be that the SDK exposes a new method for this. To help prioritize could you outline your use case where |
Hi @bric-stripe thank you for your quick response. Yes the use case for us is we are looking to implement Tap To Pay and we have two types of users admins and non-admins. According to Apple's Human Interface Guidelines in this section here:
Here's the link to this reference: To check for if a non admin user is accessing the feature having something like For the:
Having the This would be the scenario we are looking for so we do not have to unnecessarily discover then connect to a reader, it would provide a quicker feedback to our users as well. I would also like to note that we are using the React Native SDK Hope this helps! It would be really nice to have these functionalities to go with Apple's Human Interface Guidelines. |
Good Morning, |
Following Apple's |
Hi, re-opening and tagging as an active feature request. Thanks for the use cases. |
Thanks, @bric-stripe. Do you have a timeline for when this will be available? And Also is it possible for you to include this in release 2.23.+ ? |
No timeline. Team still needs to discuss what the API should look like1 and then get it planned and prioritized. It will take some time.
No. We continue to support 2.23.x but only for critical fixes. Footnotes
|
Another downside of trying to connect and checking the error for |
Yes, Totally agree @koenpunt I also observe the similar behaviour @bric-stripe why the geolocation authorization dialog is needed? |
Because it's required to receive payments, but a method to check whether the link exist shouldn't require it. |
My point is that it should not be displayed at the time of connection, but should instead be shown at the time of payment. |
AFAIK it's the Apple SDK that requires the location when connecting to the reader, so the only way you can achieve that is by postponing connecting to the reader until payment, but that would cause a noticeable delay. |
Adding to this - we're currently working on bringing a TTP feature to our users, and need to work on the UI flow that comes up specifically after T&Cs have been accepted and provisioning is occurring. I've asked Apple about the best way to "unprovision" and unaccept the T&Cs in order to facilitate work and testing on this flow - factory resetting devices every time is obviously out - and they said to directly use Given this open thread, I'm guessing we don't have any direct access to the I wonder does anyone have a good way to "reset" things and retrigger T&Cs + provisioning, when using Stripe TTP? Or perhaps our perceived need to have direct access to the |
You can unlink your merchants in the Apple Business Register. It does take some time to propagate to devices, but at least it doesn't require a factory reset. |
Awesome that's really helpful. (I had to muck around a bit this morning to actually finish setting up on the business register, but then I could see my development Merchant ID in there.) Thanks! |
Hello @bric-stripe I was wondering if there are any updates on this feature. My app requires only admins of an account to accept the T&C and I don't see a clear way of doing so currently. Any guidance on how to do this today with the cleanest workaround? |
How can we find our Merchant ID in the Stripe Dashboard? We would really like the ability to unlink merchants as it would make QA much easier. To be clear, we are the platform facilitating TTP for our merchants. |
@nabilfreeman So far for QA purposes, the easiest way I've found is to create a fresh connect account in test mode. Not the most elegant solution but in case you need an immediate solution. |
Greetings, we are implementing the 'Tap to Pay' feature in our iOS app. However, I haven't found any information in the Stripe documentation on how to determine whether a user is already registered with Apple. Is there a way to identify this? We ask because we plan to adjust the workflow based on this information; for example, the 'Tap to Pay' option would only be visible to users if the merchant is registered by an admin.
Thanks for your help!
The text was updated successfully, but these errors were encountered: