You are here

function uc_stripe_uc_order_pane in Ubercart Stripe 7.2

Same name and namespace in other branches
  1. 7.3 uc_stripe.module \uc_stripe_uc_order_pane()

Implements hook_order_pane to provide the stripe customer info

Return value

array

File

./uc_stripe.module, line 215
A stripe.js PCI-compliant payment gateway Forked from Bitcookie's work (thanks!) which was posted at http://bitcookie.com/blog/pci-compliant-ubercart-and-stripe-js from discussion in the uc_stripe issue queue, https://www.drupal.org/node/1467886

Code

function uc_stripe_uc_order_pane() {
  $panes[] = array(
    'id' => 'uc_stripe',
    'callback' => 'uc_stripe_order_pane_stripe',
    'title' => t('Stripe Customer Info'),
    'desc' => t("Stripe Information"),
    'class' => 'pos-left',
    'weight' => 3,
    'show' => array(
      'view',
      'edit',
    ),
  );
  return $panes;
}