From 200beb92bf3002966c91f3b9880c0f1a9edca1c9 Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Tue, 26 Dec 2023 19:17:27 +0100 Subject: [PATCH] UPGRADING.md: add info about failing checkout --- UPGRADING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPGRADING.md b/UPGRADING.md index d4aec40..7f31153 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -43,6 +43,11 @@ transactions. new Perl features and disables some old ones. Specifically, the old-style "indirect object notation" is disabled, which means that `new Foo(...)` should be rewritten as `Foo->new(...)`. +* `$cart->checkout` now throws an exception if there is unprocessed input in + the queue (the user can use `;` if it was intentional). There were always + reasons a checkout could fail, but now it is much more likely. Things that + should only happen if the checkout succeeds, should be put *after* the call, + or in a hook. # (2023-11-05) RevBank 4.2.0