| 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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntaxprotected virtual void ValidateSetPaymentOption(
PaymentOptionInfo paymentOptionInfo
)
Parameters
- paymentOptionInfo
- Type: CMS.EcommercePaymentOptionInfo
Payment option.
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | Thrown when validation fails. |
See Also