Closed (fixed)
Project:
Commerce Core
Version:
3.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Nov 2025 at 11:45 UTC
Updated:
12 Dec 2025 at 14:39 UTC
Jump to comment: Most recent
Let's convert payment hook implementations to OOP hooks. We still need the procedural hooks due to the D10 support.
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 #2
ritarshi_chakraborty commentedHey @jsacksick, just wanted to inform you that there is some redundant code in this issue: #3560453: Convert promotion hooks to OOP hooks
In
commerce_promotion.services.yml, you don't have to addautowire: truefor each hook service as it is already present in the defaults.Comment #5
jsacksick commentedNumber pattern, store hooks and log hoors were also converted. Closing this.
Will probably convert all remaining modules in a single separate issue.