Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently payment entites don't allow other modules to react on a recently saved payment object with the line items and status items already saved. All hooks are invoked by EntityAPIController::save()
which is called before the those database items are created.
This means there is currently no sane way to extend line items or status items with custom data.
Comment | File | Size | Author |
---|---|---|---|
#2 | payment-save_line_items_and_statuses_earlier-2867820-2.patch | 2.09 KB | torotil |
Comments
Comment #2
torotil CreditAttribution: torotil at more onion commentedHere is a patch that fixes this by …
Comment #3
torotil CreditAttribution: torotil at more onion commentedTests pass locally and I don’t want to wait until tests pass as the testbot seems to be broken #2944458: payment-7.x-1.x tests started failing without change in the branch.