You are here

function commerce_payment_transaction_load in Commerce Core 7

Loads a payment transaction by ID.

1 call to commerce_payment_transaction_load()
commerce_payment_handler_field_payment_transaction_link_delete::render in modules/payment/includes/views/handlers/commerce_payment_handler_field_payment_transaction_link_delete.inc
Render the field.
1 string reference to 'commerce_payment_transaction_load'
commerce_payment_entity_info in modules/payment/commerce_payment.module
Implements of hook_entity_info().

File

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

Code

function commerce_payment_transaction_load($transaction_id) {
  $transactions = commerce_payment_transaction_load_multiple(array(
    $transaction_id,
  ), array());
  return $transactions ? reset($transactions) : FALSE;
}