orderId and clientSecret from the response. The checkout page collects the payment. It also takes the buyer through the other steps the order needs, such as identity verification.
CrossmintCheckoutController to observe the order as the buyer progresses. As an alternative, attach onOrderUpdated(_:) and onOrderCreationFailed(_:) to handle the events yourself.
Initializers
init(apiKey:orderId:clientSecret:lineItems:payment:recipient:appearance:identityVerificationHandling:controller:)
Creates a checkout for an order.Parameters
init(apiKey:orderId:clientSecret:lineItems:payment:recipient:appearance:identityVerificationHandling:controller:environment:)
Creates a checkout for an order with an explicit environment.init(apiKey:orderId:clientSecret:lineItems:payment:recipient:appearance:identityVerificationHandling:controller:) instead.

