function stripe_element_info in Stripe 7
Implements hook_element_info().
File
- ./
stripe.module, line 86 - stripe.module Drupal hooks used for integrating the Stripe service.
Code
function stripe_element_info() {
return array(
'stripe_payment' => array(
'#process' => array(
'stripe_element_process',
),
'#cardholder_name' => TRUE,
'#address' => FALSE,
'#cvc' => TRUE,
'#publishable_key' => NULL,
),
);
}