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

Proximity Reader Token for Tap to Pay on iPhone #3575

Closed
Alex-Farago opened this issue May 10, 2024 · 2 comments
Closed

Proximity Reader Token for Tap to Pay on iPhone #3575

Alex-Farago opened this issue May 10, 2024 · 2 comments

Comments

@Alex-Farago
Copy link

Hi! As I understand Stripe SDK wraps it's reader discovery concept around Tap to Pay on iPhone with delegation pattern.

Would it be possible to get the ProximityReader token from the Stripe SDK? (https://developer.apple.com/documentation/proximityreader/paymentcardreader/token)

Alternatively could you maybe expose at least
[func isAccountLinked(using: PaymentCardReader.Token) async throws -> Bool](https://developer.apple.com/documentation/proximityreader/paymentcardreader/isaccountlinked(using:))

and
[func linkAccount(using: PaymentCardReader.Token) async throws](https://developer.apple.com/documentation/proximityreader/paymentcardreader/linkaccount(using:)) Presents a sheet for the merchant to accept Tap to Pay on iPhone’s Terms and Conditions on a device.
?

Apple has a very neat API with async functions and event streams it would be easier for us to use it. Alternatively if you could provide an additional wrapper that wraps the Stripe SDK and provides
isAccountLinked
linkAccount
prepare
...
methods, that would also work.

@Alex-Farago
Copy link
Author

This is also a question to the developer community if you are already using Stripe SDK for Tap to Pay on iPhone in your app and you already wrapped it in a structured concurrency API I would appreciate if you shared it.

@seanzhang-stripe
Copy link

Hi @Alex-Farago I believe your inquiry is related to Stripe Terminal iOS SDK, and we have a dedicated Github repo for it.

I'd close this ticket, feel free to open another ticket in Stripe Terminal iOS SDK repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants