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

Don't assert presentingViewController/delegate are non-nil in Embeddd… #4495

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

yuki-stripe
Copy link
Collaborator

…ed APIs that don't require them

Motivation

It's not invalid to call most of these APIs without a presentingViewController or delegate. There are cases where you don't need either e.g. you may call update/clearPaymentOption while EmbeddedPaymentElement is off screen.

Testing

Existing tests

Changelog

Not user facing

porter-stripe
porter-stripe previously approved these changes Jan 23, 2025
@yuki-stripe yuki-stripe merged commit 6006599 into master Jan 23, 2025
6 checks passed
@yuki-stripe yuki-stripe deleted the yuki/remove-embedded-verifyIntegration branch January 23, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants