-
Notifications
You must be signed in to change notification settings - Fork 996
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
UIViewRepresentable for embedded #4520
base: master
Are you sure you want to change the base?
Conversation
} | ||
} | ||
|
||
extension UIViewController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this VC stuff out in a very barebones SwiftUI app and confirmed it works. https://github.com/porter-stripe/swift-ui-embedded/tree/main
@@ -74,7 +74,7 @@ class EmbeddedPaymentMethodsViewSnapshotTests: STPSnapshotTestCase { | |||
appearance.embeddedPaymentElement.row.additionalInsets = 20 | |||
|
|||
let embeddedView = EmbeddedPaymentMethodsView(initialSelection: nil, | |||
paymentMethodTypes: [.stripe(.card), .stripe(.cashApp), .stripe(.klarna)], | |||
paymentMethodTypes: [.stripe(.card), .stripe(.cashApp), .stripe(.afterpayClearpay)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Context on this change: https://stripe.slack.com/archives/C02HQBW38JX/p1738343322384659
Summary
Motivation
Testing
Changelog
N/A