The Checkout-owned Payment Element. It collects a customer's payment method inline or in a sheet.

This API is in private preview and can change without notice.

interface CheckoutPaymentElement {
    present(): Promise<void>;
}

Methods

Methods

  • Requests native Payment Element sheet presentation and resolves immediately. The promise does not wait for dismissal or report the customer's selection.

    Returns Promise<void>