You are here

function uc_coupon_uc_checkout_complete in Ubercart Discount Coupons 6

Same name and namespace in other branches
  1. 7.3 uc_coupon.module \uc_coupon_uc_checkout_complete()
  2. 7.2 uc_coupon.module \uc_coupon_uc_checkout_complete()

Implementation of hook_uc_checkout_complete().

Ensure the stored coupon code is reset after checkout.

File

./uc_coupon.module, line 1298
Provides discount coupons for Ubercart.

Code

function uc_coupon_uc_checkout_complete($order, $account) {
  unset($_SESSION['uc_coupon']);
}