[dw-free] generate 'warning' email when check/money order order is checked out
[commit: http://hg.dwscoalition.org/dw-free/rev/5ed22aacfa73]
http://bugs.dwscoalition.org/show_bug.cgi?id=3357
Add a hook for site-specific logic when someone checks out a check/money
order.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3357
Add a hook for site-specific logic when someone checks out a check/money
order.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/Shop/Engine/CheckMoneyOrder.pm
-------------------------------------------------------------------------------- diff -r 5d875a3cebc4 -r 5ed22aacfa73 cgi-bin/DW/Shop/Engine/CheckMoneyOrder.pm --- a/cgi-bin/DW/Shop/Engine/CheckMoneyOrder.pm Tue Jan 04 08:40:58 2011 +0800 +++ b/cgi-bin/DW/Shop/Engine/CheckMoneyOrder.pm Tue Jan 04 10:24:48 2011 +0800 @@ -111,6 +111,9 @@ sub confirm_order { } ), } ); + # and run any additional actions desired (because this is such a manual process) + LJ::Hooks::run_hooks( 'check_money_order_pending', $cart, $u ); + return 2; } --------------------------------------------------------------------------------