You are here

function commerce_coupon_add_coupon_callback in Commerce Coupon 7

Same name and namespace in other branches
  1. 7.2 includes/commerce_coupon.checkout_pane.inc \commerce_coupon_add_coupon_callback()

Callback for the ajax button coupon_add.

1 string reference to 'commerce_coupon_add_coupon_callback'
commerce_coupon_pane_checkout_form in includes/commerce_coupon.checkout_pane.inc
Payment pane: form callback.

File

includes/commerce_coupon.checkout_pane.inc, line 152
Coupon checkout panes.

Code

function commerce_coupon_add_coupon_callback($form, &$form_state) {
  return $form['commerce_coupon'];
}