You are here

function uc_coupon_uc_checkout_complete in Ubercart Discount Coupons 7.2

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

Implements hook_uc_checkout_complete().

Ensure the stored coupon code is reset after checkout.

File

./uc_coupon.module, line 1745

Code

function uc_coupon_uc_checkout_complete($order, $account) {
  uc_coupon_session_clear();
}