function uc_stripe_payment_gateway in Ubercart Stripe 6
Same name and namespace in other branches
- 6.2 uc_stripe.module \uc_stripe_payment_gateway()
Implements hook_payment_gateway().
File
- ./
uc_stripe.module, line 17 - A module used for Stripe. Developed by Victor Quinn for Health for Hackers (http://www.healthforhackers.com)
Code
function uc_stripe_payment_gateway() {
$gateways = array();
$gateways[] = array(
'id' => 'uc_stripe',
'title' => t('Stripe Gateway'),
'description' => t('Process credit card payments using Stripe.'),
'settings' => 'uc_stripe_settings_form',
'credit' => 'uc_stripe_charge',
);
return $gateways;
}