You are here

function commerce_gc_order_transaction_status_change in Commerce GC 7

1 string reference to 'commerce_gc_order_transaction_status_change'
commerce_gc_default_rules_configuration in ./commerce_gc.rules_defaults.inc

File

./commerce_gc.rules.inc, line 63

Code

function commerce_gc_order_transaction_status_change($order, $statuses, $target_status) {
  if (!empty($order->data['giftcard_transaction_ids'])) {
    commerce_gc_transaction_change_status($order->data['giftcard_transaction_ids'], $statuses, $target_status);
  }
}