Problem/Motivation
My taxes are a bit more dynamic than out of the box and thus need some help. Realized there is no order context in the transaction alter hook which makes it tricky to alter the transaction without re-loading the order from the ID.
Proposed resolution
Pass along the $order to the transaction alter.
Remaining tasks
None
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | pass_order_through_to-2529382-1.patch | 667 bytes | joelpittet |
Comments
Comment #1
joelpittetThis should do the trick.
Comment #2
parisekThank you for the patch, I am currently on vacation. I will merge it later.
Comment #4
parisekjoelpittet: patch looks good, committed to 7.x-1.x, thank you, will make new release soon
Comment #5
joelpittetCool thanks @parisek