Title: no extra code was added
Last modified: May 28, 2024

---

# no extra code was added

 *  [bitwise2022](https://wordpress.org/support/users/bitwise2022/)
 * (@bitwise2022)
 * [2 years ago](https://wordpress.org/support/topic/no-extra-code-was-added/)
 * I am writing to you to report and at the same time try to resolve a problem I
   have on one of my client’s e-commerce sites. For some time we noticed a javascript
   error on the “checkout” page: Uncaught TypeError: e.addClass(…).block is not 
   a function In the file: checkout.js:1:79255 In our opinion, this error prevents
   the possibility of dynamically changing the payment method. In fact, if you try
   to choose “payment on delivery” the extra fee requested by the site owner will
   not be added.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fno-extra-code-was-added%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘no extra code was added’ is closed to new replies.

 * ![](https://ps.w.org/wc-smart-cod/assets/icon-128x128.png?rev=3372621)
 * [Smart COD for WooCommerce](https://wordpress.org/plugins/wc-smart-cod/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-smart-cod/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-smart-cod/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-smart-cod/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-smart-cod/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bitwise2022](https://wordpress.org/support/users/bitwise2022/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/no-extra-code-was-added/)
 * Status: not resolved