You are here

function uc_coupon_checkout_submit in Ubercart Discount Coupons 7.3

Same name and namespace in other branches
  1. 7.2 uc_coupon.module \uc_coupon_checkout_submit()
1 string reference to 'uc_coupon_checkout_submit'
uc_checkout_pane_coupon in ./uc_coupon.module
Checkout Pane callback function.

File

./uc_coupon.module, line 1300
Provides discount codes and gift certificates for Ubercart.

Code

function uc_coupon_checkout_submit($form, &$form_state) {
  $form_state['rebuild'] = TRUE;
  unset($form_state['checkout_valid']);
  $form_state['redirect'] = 'cart/checkout';
}