Fixed
Project:
Orchestra
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2026 at 16:35 UTC
Updated:
25 Jul 2026 at 16:47 UTC
Jump to comment: Most recent
The payment interaction always offers to pay, even when the resolver reports there is nothing to pay for, or nothing to act on at all. This adds a route outcome to the payable resolver contract so the step can carry the run on, or show a message, instead of always offering payment.
Changes:
PayableResolverInterface::routeOutcome() returns one of pay, no_payment or empty, with a default in PayableResolverBase derived from resolve(): pay when it resolves a Payable, empty otherwise.empty_message setting, plus its config schema key.Covered by a new kernel test, PaymentRouteOutcomeTest, with a small test-only resolver.
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 #4
mably commented