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: 13.0.131
Syntax
C#
protected virtual void ValidateSetPaymentOption(
	PaymentOptionInfo paymentOptionInfo
)

Parameters

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