uc_credit_cart_review_post_form_submit
Drupal 7 uc_credit_cart_review_post_form_submit($form, &$form_state)
Clears the temporary CC data if the review order form submits.
1 string reference to 'uc_credit_cart_review_post_form_submit'
File
- sites/
all/ modules/ ubercart/ payment/ uc_credit/ uc_credit.module, line 767 - Defines the credit card payment method and hooks in payment gateways.
Code
function uc_credit_cart_review_post_form_submit($form, &$form_state) {
if (!empty($_SESSION['uc_checkout'][$_SESSION['cart_order']]['do_complete'])) {
// Otherwise stuff it back in the session for the next pageload.
unset($_SESSION['sescrd']);
}
}

