You are here

function uc_coupon_uc_checkout_complete in Ubercart Discount Coupons 7.3

Same name and namespace in other branches
  1. 6 uc_coupon.module \uc_coupon_uc_checkout_complete()
  2. 7.2 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 1943
Provides discount codes and gift certificates for Ubercart.

Code

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