• Resolved rdarshanthanki

    (@rdarshanthanki)


    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

    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)

    (@shahzeenfarooq)

    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, 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.