function uc_paypal_form_uc_cart_checkout_review_form_alter in Ubercart 7.3
Implements hook_form_FORM_ID_alter() for uc_cart_checkout_review_form().
File
- payment/
uc_paypal/ uc_paypal.module, line 81 - Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!
Code
function uc_paypal_form_uc_cart_checkout_review_form_alter(&$form, &$form_state, $form_id) {
if (!empty($_SESSION['TOKEN'])) {
$form['#submit'][] = 'uc_paypal_ec_submit_form_submit';
}
}