A zero-amount (free) checkout is a card verification that opens the card-on-file chain. WorldlinePaymentFinalizer recorded it captured: the zero-amount branch released the verification amount and then fell through to the default capture(), so a free booking showed a captured payment while nothing was taken.

The finalizer now records a zero-amount checkout as authorized, the same as any authorize-only checkout. The workflow settle step resolves the zero amount (it cancels the authorization, which voids the verification), so kessai keeps no zero-amount policy of its own.

Kernel tests updated: a free checkout is recorded authorized, and the amount-mismatch branch keeps the structured release-error logging coverage.

Issue fork kessai-3609963

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Title: Record a zero-amount card-verification checkout as authorized, not captured » Do not invent a checkout amount; a zero-amount payment starts no checkout

  • mably committed cb3645ce on 1.x
    fix: #3609963 Do not invent a checkout amount; a zero-amount payment...
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.