crm:stripeCard
Overview
The <crm:stripeCard> tag is used to display a stripe card element on the page.
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
columnClasses | false | String | ui-grid-col-12 | Comma separated list of column style classes of the gird layout that will be used to display the component. Column style class should be prefixed with ui-grid-col- and suffixed with the number of columns that content will take (out of 12). For example, for two columns with the same size the columnClasses should be "ui-grid-col-6,ui-grid-col-6". |
columns | false | Integer | 1 | Number of columns of the gird layout that will be used to display the component. |
dataObject | true | Object | null | The data object of the component . |
id | true | String | null | Unique identifier of the component. |
labelKey | false | String | key_verify | A valid key defined in translation properties file. Its translation through the glossary will be used as the verify button text. |
managedBean | true | String | null | The name of the Java managed bean class that will be used for retrieving the component values. |
mode | false | String | The mode of the managed bean. | The mode of the component. Allowed values are VIEW and EDIT. |
onChangeFunction | true | String | null | Defines the function call triggered when input element loses focus and its value has been modified since gaining focus. |
refresh | false | String | null | Component(s) to update with ajax. |
stripeApiKey | false | String | The Publishable Key that is defined in General Parameters of the Stripe Payment Gateway. | The Publishable API key that is used to identify an account with Stripe Payment Gateway. |
visible | false | Boolean | true | Controls the visibility of the component. |
Getting Started
The following example shows a stripe card component.