You are here

function commerce_payment_commerce_payment_transaction_update in Commerce Core 7

Implements hook_commerce_payment_transaction_update().

When an existing transaction is updated from an incomplete status to completed, check the order balance and invoke a Rules event if the order is paid in full.

File

modules/payment/commerce_payment.module, line 494
Defines the payment system and checkout integration.

Code

function commerce_payment_commerce_payment_transaction_update($transaction) {
  commerce_payment_commerce_payment_transaction_insert($transaction);
}