function commerce_braintree_dropin_checkout_ajax in Commerce Braintree 7.3
Same name and namespace in other branches
- 7.2 modules/commerce_braintree_dropin/commerce_braintree_dropin.module \commerce_braintree_dropin_checkout_ajax()
Override of commerce_payment_pane_checkout_form_details_refresh().
Replaces the entire form so that Braintree Drop-in events can be added or removed properly when changing payment methods during checkout.
1 string reference to 'commerce_braintree_dropin_checkout_ajax'
- commerce_braintree_dropin_form_alter in modules/
commerce_braintree_dropin/ commerce_braintree_dropin.module - Implements hook_form_alter().
File
- modules/
commerce_braintree_dropin/ commerce_braintree_dropin.module, line 176 - Provides integration with Braintree Drop-in UI.
Code
function commerce_braintree_dropin_checkout_ajax(&$form, &$form_state) {
return $form;
}