You are here

function uc_stripe_order_pane_stripe in Ubercart Stripe 6.2

Same name and namespace in other branches
  1. 7.3 uc_stripe.module \uc_stripe_order_pane_stripe()
  2. 7.2 uc_stripe.module \uc_stripe_order_pane_stripe()

Provide customer id for order pane.

Parameters

$op:

$arg1:

Return value

string

1 string reference to 'uc_stripe_order_pane_stripe'
uc_stripe_order_pane in ./uc_stripe.module
Implements hook_order_pane to provide the stripe customer info

File

./uc_stripe.module, line 151
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_order_pane_stripe($op, $arg1) {
  if ($op == 'view') {
    $stripe_customer_id = _uc_stripe_get_customer_id($arg1->uid);
    $output = t("Stripe Customer ID: ") . $stripe_customer_id;
    return $output;
  }
}