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.

CommentFileSizeAuthor
#1 commerce-paid_in_full-1802424-1.patch612 bytesrymo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rymo’s picture

Status: Active » Needs review
FileSize
612 bytes
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.