This hook's signature is defined as hook_commerce_payment_order_paid_in_full($transaction) but the hook is invoked from commerce_payment_commerce_payment_transaction_insert with rules_invoke_all('commerce_payment_order_paid_in_full', $order, $transaction). Attaching a patch.

#1 commerce-paid_in_full-1802424-1.patch612 bytesrymo
PASSED: [[SimpleTest]]: [MySQL] 3,587 pass(es). View


rymo’s picture

Status:Active» Needs review
612 bytes
PASSED: [[SimpleTest]]: [MySQL] 3,587 pass(es). View
rszrama’s picture

Title:Mismatched parameters: hook_commerce_payment_order_paid_in_full» Fix the parameters documented for hook_commerce_payment_order_paid_in_full()
Assigned:rymo» Unassigned
Category:bug» task
Status:Needs review» Fixed

Good catch; I also added parameter documentation to the doc block.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.