function commerce_amex_commerce_payment_transaction_status_info in Commerce American Express Payment Gateway (Amex) 7
Implements hool_commerce_payment_transaction_status_info().
File
- ./
commerce_amex.module, line 243 - Implements American Express payment gateway for use in Drupal Commerce.
Code
function commerce_amex_commerce_payment_transaction_status_info() {
$statuses = array();
$statuses[COMMERCE_PAYMENT_STATUS_AMEX_REVIEW] = array(
'status' => COMMERCE_PAYMENT_STATUS_AMEX_REVIEW,
'title' => t('Review'),
'icon' => drupal_get_path('module', 'commerce_payment') . '/theme/icon-pending.png',
'total' => FALSE,
);
$statuses[COMMERCE_PAYMENT_STATUS_AMEX_CANCELED] = array(
'status' => COMMERCE_PAYMENT_STATUS_AMEX_CANCELED,
'title' => t('Canceled'),
'icon' => drupal_get_path('module', 'commerce_payment') . '/theme/icon-failure.png',
'total' => FALSE,
);
return $statuses;
}