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.
I don't know what the 'invoice' context of the 'show' key in hook_uc_order_pane() maps to in the new plugin ... uc_fulfillment is the only module that uses it.
There's no real way to test this yet - the module doesn't work and there are no test cases. But it's a first step.
Comment | File | Size | Author |
---|---|---|---|
#2 | fulfillment-order-pane.patch | 4.52 KB | TR |
| |||
fulfillment-order-pane.patch | 2.33 KB | TR | |
|
Comments
Comment #2
TR CreditAttribution: TR commentedForgot to include the plugin in the patch ...
Comment #3
longwaveThe 'invoice' key is a historical relic that never worked - I think the original idea was to have order panes also generate parts of the invoice. This was then removed in the 7.x dev cycle, this instance must have been missed.
Comment #5
TR CreditAttribution: TR commentedI committed this. We won't really know if it works until the rest of the module gets ported, so that's what I'll work on.
Comment #6
TR CreditAttribution: TR commentedI did find a bug now that my port of uc_fulfillment is far enough along for testing. I committed a fix, now it's officially working.