You are here

function uc_coupon_checkout_apply in Ubercart Discount Coupons 6

Same name and namespace in other branches
  1. 5 uc_coupon.module \uc_coupon_checkout_apply()

Checkout pane AJAX callback.

1 string reference to 'uc_coupon_checkout_apply'
uc_coupon_menu in ./uc_coupon.module
Implementation of hook_menu().

File

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

Code

function uc_coupon_checkout_apply() {
  uc_coupon_submit('ajax', $_POST['code'], unserialize($_POST['order']));

  // Does not return for ajax calls.
}