Click or drag to resize
PaymentOptionInfoProviderIsPaymentOptionApplicableInternal Method
Checks if payment option is applicable for given shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
protected virtual bool IsPaymentOptionApplicableInternal(
	ShoppingCartInfo cart,
	PaymentOptionInfo paymentOption
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart in which payment option should be used.
paymentOption
Type: CMS.EcommercePaymentOptionInfo
Payment option to check if it is applicable.

Return Value

Type: Boolean
True if payment option exists, is enabled and is allowed.
See Also