function commerce_payment_commerce_checkout_pane_info in Commerce Core 7
Implements hook_commerce_checkout_pane_info().
File
- modules/
payment/ commerce_payment.module, line 298 - Defines the payment system and checkout integration.
Code
function commerce_payment_commerce_checkout_pane_info() {
$checkout_panes = array();
$checkout_panes['commerce_payment'] = array(
'title' => t('Payment'),
'page' => 'review',
'file' => 'includes/commerce_payment.checkout_pane.inc',
'base' => 'commerce_payment_pane',
'weight' => 10,
);
$checkout_panes['commerce_payment_redirect'] = array(
'title' => t('Off-site payment redirect'),
'page' => 'payment',
'locked' => TRUE,
'file' => 'includes/commerce_payment.checkout_pane.inc',
'base' => 'commerce_payment_redirect_pane',
);
return $checkout_panes;
}