You are here

function uc_stripe_uc_payment_gateway in Ubercart Stripe 7

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

Implements hook_payment_gateway().

File

./uc_stripe.module, line 37
A module used for processing payments with Stripe.

Code

function uc_stripe_uc_payment_gateway() {
  $gateways = array();
  $gateways['uc_stripe'] = array(
    'title' => t('Stripe Gateway'),
    'description' => t('Process credit card payments using Stripe.'),
    'settings' => 'uc_stripe_settings_form',
    'credit' => 'uc_stripe_charge',
  );
  return $gateways;
}