The order-delete confirmation lists what the delete will purge (booking lines, the workflow instance) but not the payments, even though BookingPaymentHooks::purgePaymentsOnDelete already removes every payment whose subject is the transaction. This adds the missing line.

A TransactionPayments service finds the payments belonging to a transaction (by subject). purgePaymentsOnDelete now deletes through it, and a new PaymentCascadeDescriber counts through it, so the number on the screen matches exactly what the delete removes (checkout, deposit and no-show alike).

Kernel test and French translation added. Tests green.

Issue fork yoyaku-3610013

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 committed 90840424 on 1.x
    fix: #3610013 List the order's payments on the delete-confirmation...
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.