2 April 2025
SDK
When using the
paymentFlow
method, Checkout now removes a Discount Code from the Cart if the code does not apply to the Cart. This prevents order creation errors when converting the Cart to an Order.When removing the Discount Code, Checkout generates the NotApplicableDiscountCodeRemoved Message, which you can react to, for example to provide feedback to your customer or to update the cart's information on your checkout flow.