Broadleaf Microservices

Stale Pricing Validation Workflow Activity

The CartStalePricingValidationActivity activity is responsible for validating that the cart and its items have the actual (latest) prices.

  • If the new cart total is less than the previous the cart will be updated with the new prices, and if the property CartStalePricingActivityProperties#shouldRejectLowerPrice is true the exception CheckoutWorkflowActivityException is thrown with the failure type STALE_CART_PRICING_LOWER

  • If the new cart total is higher than the previous the cart will be updated with the new prices, and the exception CheckoutWorkflowActivityException will be thrown with the failure type STALE_CART_PRICING_HIGHER