function uc_paypal_form_uc_cart_checkout_form_alter in Ubercart 7.3
Implements hook_form_FORM_ID_alter() for uc_cart_checkout_form().
File
- payment/
uc_paypal/ uc_paypal.module, line 72 - Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!
Code
function uc_paypal_form_uc_cart_checkout_form_alter(&$form, &$form_state, $form_id) {
if (variable_get('uc_payment_method_paypal_ec_checkout', FALSE)) {
$form['#submit'][] = 'uc_paypal_ec_checkout';
}
}