Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The <crm:braintreeCard> tag is used to display a braintree card element on the page.

Attributes

NameRequiredTypeDefaultDescription
braintreeTokenizationKeyfalseStringThe Braintree Tokenization Key that is defined in General Parameters of the Braintree Payment Gateway.

The tokenization key that is used to authorize an account to tokenize payment information of the Braintree Payment Gateway.

columnClassesfalseStringui-grid-col-12Comma separated list of column style classes of the gird layout that will be used to display the component.
columnsfalseInteger1Number of columns of the gird layout that will be used to display the component.
dataObjecttrueObjectnullThe data object of the component .
idtrueStringnullUnique identifier of the component.
labelKeyfalseStringkey_verify

A valid key defined in translation properties file. Its translation through the glossary will be used as the verify button text.

managedBeantrueStringnullThe name of the managed bean that will be used for retrieving the component values.
modefalseStringThe mode of the managed bean.The mode of the component. Allowed values are VIEW and EDIT.
onChangeFunctiontrueStringnull

Defines the function call triggered when input element loses focus and its value has been modified since gaining focus.

refreshfalseStringnullComponent(s) to update with ajax.
visiblefalseBooleantrueControls the visibility of the component.


Getting Started 

The following example shows a braintree card component.