Problem/Motivation
The booking checkout / payment landing page shows only the amount due ("Montant dû"), not what is being paid for. Orchestra now offers a generic seam for this: a PayableResolver can attach a summary render array to the Payable, which the payment interaction shows above the amount (orchestra issue 3612890).
Proposed resolution
Populate that summary in BookingPayableResolver from the order, reusing the canonical order summary (OrderSummaryBuilder / TransactionSummary, the same breakdown the confirmation email uses: grouped by event, each ticket and price). The payment landing page then shows the order summary above the amount due.
Remaining tasks
- Inject the order summary builder into BookingPayableResolver and set the Payable summary.
- Add a kernel test asserting the resolved Payable carries the summary.
Dependency
Requires the orchestra payment summary seam (issue 3612890), merged into orchestra 1.x.
Issue fork yoyaku-3612895
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
Comment #3
mably commentedComment #5
mably commented