ShoppingService.SetPaymentOptionInternal Method |
Sets the selected payment option to the current shopping cart, evaluates it and persists changes in the database
if the persistShoppingCart is true.
Does nothing if paymentOptionId is the same as the cart already has.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual void SetPaymentOptionInternal(
int paymentOptionId,
bool persistShoppingCart
)
Parameters
- paymentOptionId
- Type: System.Int32
- persistShoppingCart
- Type: System.Boolean
See Also