configure
suspend fun configure(clientSecret: String, configuration: CheckoutElementsController.Configuration = Configuration()): CheckoutElementsController.OperationResult
Loads the Checkout Session identified by clientSecret and prepares the payment UI, populating session on success.
Returns OperationResult.Failed immediately if destroy has been called.
Parameters
clientSecret
The client secret of the Checkout Session to load.
configuration
Options controlling how the checkout is configured and displayed.