New hook: checkout_done

This commit is contained in:
Juerd Waalboer 2017-05-10 22:08:33 +02:00
parent 60b50d6e42
commit 4ad7129805
2 changed files with 7 additions and 1 deletions

View file

@ -249,7 +249,11 @@ Be careful to avoid infinite loops if you add new stuff.
=item hook_checkout $class, $cart, $user, $transaction_id
Called when the transaction is finalized.
Called when the transaction is finalized, before accounts are updated.
=item hook_checkout $class, $cart, $user, $transaction_id
Called when the transaction is finalized, after accounts were updated.
=item hook_reject $class, $plugin, $reason, $abort