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

Embedded example #4067

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Embedded example #4067

merged 2 commits into from
Sep 27, 2024

Conversation

yuki-stripe
Copy link
Collaborator

Summary

  • Add ExampleEmbeddedElementCheckoutViewController to example app
  • Tweak Embedded API

Testing

Manual for now

Changelog

Not user facing

}

@objc
func didTapCheckoutButton() async {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surprised this works, didn't think you could use @objc + async on a function definition.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me too! This is actually untested, buy button won't work until we implement paymentOption. So it might crash at runtime :D

@yuki-stripe yuki-stripe merged commit 2a31571 into master Sep 27, 2024
6 checks passed
@yuki-stripe yuki-stripe deleted the yuki/embedded-example branch September 27, 2024 18:23
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