You are here

function commerce_payleap_commerce_payment_transaction_status_info in Commerce Payleap 7

Implements hook_commerce_payment_transaction_status_info().

File

./commerce_payleap.module, line 28
Implements PayLeap payment services for use in Drupal Commerce.

Code

function commerce_payleap_commerce_payment_transaction_status_info() {
  $statuses = array();
  $statuses[PAYLEAP_PAYMENT_STATUS_CANCELED] = array(
    'status' => PAYLEAP_PAYMENT_STATUS_CANCELED,
    'title' => t('Canceled'),
    'total' => FALSE,
  );
  return $statuses;
}