ConfirmButton

public struct ConfirmButton<Content> : View where Content : View

A button which confirms the payment or setup. Depending on the user’s payment method, it may present a confirmation sheet. This is a convenience wrapper for the .paymentConfirmationSheet() ViewModifier.

Parameters

paymentSheetFlowController

A PaymentSheet.FlowController to present.

onCompletion

Called with the result of the payment/setup confirmation, after the PaymentSheet (if any) is dismissed.

content

The content of the view.