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

fix: check for existence of pass on paired watch #1162

Conversation

charliecruzan-stripe
Copy link
Collaborator

@charliecruzan-stripe charliecruzan-stripe commented Oct 5, 2022

Summary

canAddCardToWallet now check specifically for the existence of passes that exist on paired device like apple watches. If a pass exists on another paired device, then the merchant should show the 'add to apple wallet' button. added another status to the enum for debugging/clarity.

Motivation

Apple's guidelines around this have changed.

Testing

  • I tested this manually
  • I added automated tests

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

@charliecruzan-stripe
Copy link
Collaborator Author

superseded by #1219

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

Successfully merging this pull request may close these issues.

1 participant