Click or drag to resize
ShoppingServiceValidateSetPaymentOption Method
Validates whether a payment option is assigned to the same site as the current shopping cart or the payment option is a global object.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual void ValidateSetPaymentOption(
	PaymentOptionInfo paymentOptionInfo
)

Parameters

paymentOptionInfo
Type: CMS.EcommercePaymentOptionInfo
Payment option.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when validation fails.
See Also