You are here

function commerce_payment_transaction_load_multiple in Commerce Core 7

Loads multiple payment transaction by ID or based on a set of matching conditions.

Parameters

$transaction_ids: An array of transaction IDs.

$conditions: An array of conditions on the {commerce_payment_transaction} table in the form 'field' => $value.

$reset: Whether to reset the internal transaction loading cache.

Return value

An array of transaction objects indexed by transaction_id.

See also

entity_load()

4 calls to commerce_payment_transaction_load_multiple()
CommercePaymentUITest::testCommercePaymentCheckout in modules/payment/tests/commerce_payment_ui.test
Test the payment on checkout process using an authenticated user.
commerce_payment_commerce_order_delete in modules/payment/commerce_payment.module
Implements hook_commerce_order_delete().
commerce_payment_order_balance in modules/payment/commerce_payment.module
Calculates the balance of an order by subtracting the total of all successful transactions from the total of all the line items on the order.
commerce_payment_transaction_load in modules/payment/commerce_payment.module
Loads a payment transaction by ID.

File

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

Code

function commerce_payment_transaction_load_multiple($transaction_ids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('commerce_payment_transaction', $transaction_ids, $conditions, $reset);
}