function commerce_stripe_commerce_payment_method_info in Commerce Stripe 7.2
Same name and namespace in other branches
- 7.3 commerce_stripe.module \commerce_stripe_commerce_payment_method_info()
- 7 commerce_stripe.module \commerce_stripe_commerce_payment_method_info()
Implements hook_commerce_payment_method_info().
File
- ./
commerce_stripe.module, line 39 - This module provides Stripe (http://stripe.com/) payment gateway integration to Commerce. Commerce Stripe offers a PCI-compliant way to process payments straight from you Commerce shop.
Code
function commerce_stripe_commerce_payment_method_info() {
$payment_methods = array();
$payment_methods['commerce_stripe'] = array(
'title' => _commerce_stripe_load_setting('display_title', t('Stripe')),
'description' => t('Stripe payment gateway'),
'active' => FALSE,
'terminal' => FALSE,
'offsite' => FALSE,
'cardonfile' => array(
'charge callback' => 'commerce_stripe_cardonfile_charge',
'create form callback' => 'commerce_stripe_cardonfile_create_form',
'create callback' => 'commerce_stripe_cardonfile_create',
'update callback' => 'commerce_stripe_cardonfile_update',
'delete callback' => 'commerce_stripe_cardonfile_delete',
),
);
return $payment_methods;
}