MountPaymentElementProperties
Properties for mounting Stripe's Payment Element to the DOM.
export interface MountPaymentElementProperties {
appearance?: Record<string, string>;
cart: Cart;
paymentDOMElement?: string | HTMLElement;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
appearance | Optional | Record<string, string> | Payment Element appearance options supported by Stripe's Appearance API. |
cart | Required | Cart | Commercetools cart to mount the Payment Element for. |
paymentDOMElement | Optional | string | HTMLElement | The DOM element where the Payment Element will be mounted. |
Referenced Types
Cart