Closed swcraig closed 6 years ago
I noticed a small typo in the commit message. That was my change after Andrew's approval.
In thinking about this a bit more, this solution may be incomplete, as we need to support older versions of Solidus, which will still have set_current_order
defined.
I've made an update adding raise: false
. This should be compatible with both versions of Solidus, those that have the callback defined and those that do not.
The specs are failing because
set_current_order
is not defined as a process_action callback. This used to be the case but then it was removed from Solidus.PR removing this callback: https://github.com/solidusio/solidus/pull/2185