Title: JavaScript conflict with WP Dark Mode plugin
Last modified: December 18, 2024

---

# JavaScript conflict with WP Dark Mode plugin

 *  Resolved [rdarshanthanki](https://wordpress.org/support/users/rdarshanthanki/)
 * (@rdarshanthanki)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-with-wp-dark-mode-plugin/)
 * I am using the WC Gateway Stripe plugin with WP Dark Mode plugin.
 * They both are using a javascript variable called UE so there’s a conflict.
 * The description of the error is: [https://prnt.sc/j_Gvuc40MITh](https://prnt.sc/j_Gvuc40MITh)
 *     ```wp-block-code
       VM3768:1 Uncaught (in promise) ReferenceError: ue is not defined    at V (<anonymous>:1:2622)    at HTMLDocument.E [as styleSheets] (<anonymous>:1:2838)    at P (upe_classic.js?ver=9.0.0:1:62968)    at upe_classic.js?ver=9.0.0:1:120554    at C (upe_classic.js?ver=9.0.0:1:120938)    at r (upe_classic.js?ver=9.0.0:2:695)    at HTMLBodyElement.<anonymous> (upe_classic.js?ver=9.0.0:2:3816)    at HTMLBodyElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)    at v.handle (jquery.min.js?ver=3.7.1:2:38006)    at Object.trigger (jquery.min.js?ver=3.7.1:2:70124)
       ```
   
 * Because of this error, the credit card form is not showing in our checkout page.
 * The checkout page shows when we select “Use legacy checkout experience” in Stripe
   plugin settings.
 * Request your developers to fix the issue with the variable name “UE” in upe_classic.
   js file by changing its name so it don’t conflict with other plugin.
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-with-wp-dark-mode-plugin/#post-18208305)
 * Hi there!
 * I understand your concern. Please note that our plugin is designed to work with
   WooCommerce, and we have not received reports of conflicts with other plugins.
   There are thousands of plugins available, and unfortunately, we cannot guarantee
   compatibility between every plugin.
 * Since this issue arises from a conflict between two plugins, we recommend reaching
   out to the developers of the **WP Dark Mode** plugin and asking them to change
   the conflicting JavaScript variable. This should resolve the error and allow 
   both plugins to function properly.
 * Alternatively, you can submit a request on our GitHub repository here: [https://github.com/woocommerce/woocommerce-gateway-stripe](https://github.com/woocommerce/woocommerce-gateway-stripe),
   and our developers will look into this further.

Viewing 1 replies (of 1 total)

The topic ‘JavaScript conflict with WP Dark Mode plugin’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 1 reply
 * 2 participants
 * Last reply from: [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/javascript-conflict-with-wp-dark-mode-plugin/#post-18208305)
 * Status: resolved