Broadleaf Microservices
  • v1.0.0-latest-prod

Order Operation Release Notes for 2.1.1-GA

Requirements

  • JDK 17 is required for Broadleaf release trains 2.0.0-GA, and beyond.

New Features & Notable Changes

Retail Delivery Fees

  • Added support for Retail Delivery Fees

    • Added support for mapping RDF attributes during Order & Order Fulfillment generation

    • Added support for fee amount capture & refunds in OMS

      • Added fees to the ReturnRequest

      • Populated the FeeRefund on the ReturnAuthorization from the OrderItems based on the fees included in the ReturnRequest

      • Include fee refund totals in the refund estimated totals

      • Ensure the fee is only refundable once, keeps track across all the order’s ReturnAuthorizations

      • Builds PaymentRefundPackages for the fees, and uses those when calling PaymentTransactionServices to issue refunds

Bug Fixes

  • Fixed RecordTooLargeException for large fulfillments by only using Order and OrderFulfillment ids for FulfillmentStatusChangeEvents

    • The AbstractFulfillmentStatusChangeHandler is updated to only emit Order and OrderFulfillment ids.

    • The FulfillmentStatusChange listeners are updated to read Order and OrderFulfillment by ids, to accommodate the new message payload that only contains IDs to avoid RecordTooLargeException for large fulfillments.

      • The listeners will still check for the full Order and OrderFulfillment payload in the message for the sake of backwards compatibility, but the logic is subject to removal in a future release.

Miscellaneous

  • Updated existing and introduced new kafka bindings:

    • Added orderOperationsTaxHandlingOnOrderCreatedInput and orderOperationsVoucherCreationOnOrderCreatedInput for orderCreated topic

    • Added orderOperationsFulfillmentRefundTaxOnReturnConfirmedInput for returnConfirmed topic

    • Fixed FulfillmentRefundTaxHandler to subscribe to correct binding ReturnConfirmedFulfillmentRefundTaxConsumer.CHANNEL

    • Fixed VoucherCodeGenerationOrderCreatedListener to subscribe to OrderCreatedVoucherGenerationConsumer.CHANNEL

  • Fixed a bug where calculation of refund amounts didn’t include the parent order item’s quantity for Add-On Order Items, resulting in Add-On Order Items to only refund one quantity