present(completion:)
Presents the payment sheet modally over your app.
Declaration
func present(completion: (@Sendable (Bool) -> Void)? = nil)func present() async -> BoolParameters
Discussion
You are responsible for dismissing the payment sheet.
Presents the payment sheet modally over your app.
func present(completion: (@Sendable (Bool) -> Void)? = nil)func present() async -> BoolYou are responsible for dismissing the payment sheet.