Presents the payment sheet modally over your app.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.0+
Kit (Apple Pay and Wallet)
A block that is called after the sheet is presented. This block is passed the following parameters:
A Boolean value that indicates whether the payment sheet was successfully presented.
trueif the payment sheet was presented successfully; otherwise,
You are responsible for dismissing the payment sheet.