Cart Payment Method Selection Card Type
The Cart Payment Method Selection card type displays the external payment profiles for the payment gateway of the entity for the current Community Hub. The external payment profiles display as a list of stored payment methods from which constituents can choose one. The card is does not display by default, but displays when directed to by another card on the page. The items listed on the card are options provided by the data source. The card type displays the default stored payment method first, then the rest in order by name; the default stored payment method is preselected.
The Order Payment Option Selection card type must be used on pages which deal with carts, such as the Checkout Page or the Invoice Page.
The behavior of the Cart Payment Method Selection card type is determined by an implementation of the StoredPaymentOptions
Apex class, which is returned by the data source on the card. The StoredPaymentOptionsDataSource Data Source is recommended for use with this card type.
Card Type Information
CartPaymentMethodSelection | |
Card Component Constructor | OptionSelectionComponentConstructor |
StoredPaymentOptSelectionCompController2 | |
Display Name | Cart Payment Method Selection |