Title: Plugin breaks at checkout when coupon code applied
Last modified: October 31, 2017

---

# Plugin breaks at checkout when coupon code applied

 *  [thinkluke](https://wordpress.org/support/users/thinkluke/)
 * (@thinkluke)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-at-checkout-when-coupon-code-applied/)
 * Add a product to cart, apply coupon at cart this gives free shipping and cart
   discount. Braintree plugin broken.
 * **Uncaught ReferenceError: Braintree_params is not defined**
 * Uncaught ReferenceError: Braintree_params is not defined
    at initBraintree (woocommerce-
   braintree-payment-gateway-public.js?ver=3.2.1:9) at HTMLBodyElement.<anonymous
   > (woocommerce-braintree-payment-gateway-public.js?ver=3.2.1:86) at HTMLBodyElement.
   dispatch (jquery.js:3) at HTMLBodyElement.r.handle (jquery.js:3) at Object.trigger(
   jquery.js:3) at HTMLBodyElement.<anonymous> (jquery.js:3) at Function.each (jquery.
   js:2) at n.fn.init.each (jquery.js:2) at n.fn.init.trigger (jquery.js:3) at Object.
   success (checkout.min.js?ver=3.2.1:1)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-breaks-at-checkout-when-coupon-code-applied%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [thinkluke](https://wordpress.org/support/users/thinkluke/)
 * (@thinkluke)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-at-checkout-when-coupon-code-applied/#post-9635602)
 * this blocks all payment methods and user is unable to checkout.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-at-checkout-when-coupon-code-applied/#post-9657010)
 * Thank you for reporting this. I have submitted a message to the developers to
   investigate further your findings.
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin breaks at checkout when coupon code applied’ is closed to new 
replies.

 * ![](https://ps.w.org/woocommerce-braintree-payment-gateway/assets/icon-128x128.
   png?rev=3363013)
 * [Payment Gateway Braintree WooCommerce](https://wordpress.org/plugins/woocommerce-braintree-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-braintree-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-braintree-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-braintree-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-braintree-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-braintree-payment-gateway/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-breaks-at-checkout-when-coupon-code-applied/#post-9657010)
 * Status: not resolved