Broadleaf Microservices
  • v1.0.0-latest-prod

Cart Operation Release Notes for 1.7.7-GA

Requirements

  • JDK 11 is now required for the Broadleaf 1.7.0-GA release train, and beyond.

New Features & Notable Changes

Feature/Notable Change Related Services Links

Updated CollectOnDelivery validation in the checkout workflow

Improved external providers to differentiate 404 NOT FOUND responses from actual 404 and ENTITY_NOT_FOUND, and improved error handling and logging for providers

Introduced improved logging throughout the checkout process

OrderOperationServices, MicroSecurityCommon

Improve support for awaiting async result when looking up and claiming 3DS transactions in checkout

NextJS Starter, PaymentTransactionServices, Checkout.com Integration Module

  • Cleaned up our frontend example COD payment form & fees

  • Ensure the fees cannot be removed unless COD is deselected

  • Added validation to the payment validation activity in the checkout workflow to ensure COD is configured correctly & the COD fees exist

  • Updated the DefaultCartItemTypes to use a more specific enum value, COD_FEE instead of EXTRA_FEE

CartOperationServices, OrderServices, CartClient, OrderClient, Commerce SDK, NextJS Starter

Introduced Apple Pay integration with Checkout.com

CartOperationServices, OrderOperationServices, PaymentGatewayCommon, PaymentTransactionServices, Checkout.com Integration Module, Commerce SDK, NextJS Starter, Payment SDK

Bug Fixes

Issue

Prevented fee CartItems from being removed via endpoint

Fixed tax calculation for the VIRTUAL fulfillment type

Fixed invalid payment total if offer applied after shipping stage

Fixed potential NullPointerException from CartItem type filter

Fixed potential NullPointerException from Cart’s lastCatalogReprice

Upgrade Guide

Method Signature Changes

Class/Method

Description

CartStalePricingValidationActivity#execute

This activity now implements RequiresSecurePaymentInformationActivity, which takes in two additional paymentLockTokens - Map<String, String> and securityCodes - Map<String, String> parameters, in order to reallocate cart payments when needed

CartStalePricingValidationActivity#validateCartHasLatestPricing

Now take an additional paymentLockTokens - Map<String, String> parameter for updating cart payments

API Changes

New Endpoints

Path Description