• Hi, I’m experiencing a javascript error with the Stripe WooCommerce Payment Plugins Version 3.3.55 extension on the payment page FROM the backoffice (the order-pay page – > body.woocommerce-page woocommerce-order-pay)

    wc-stripe.min.js?ver=3.3.55:1 Uncaught TypeError: Cannot read properties of null (reading ‘elements’)
    at wc_stripe.BaseGateway.create_stripe_elements (wc-stripe.min.js?ver=3.3.55:1:694)
    at wc_stripe.BaseGateway (wc-stripe.min.js?ver=3.3.55:1:575)
    at new t (credit-card.min.js?ver=3.3.55:1:65)
    at credit-card.min.js?ver=3.3.55:1:15501
    at credit-card.min.js?ver=3.3.55:1:15507

    Here i is Null :

    
    wc_stripe.BaseGateway.prototype.create_stripe_elements = function() {
        return i.elements(o.extend({}, {
            locale: "auto"
        }, this.get_element_options()))
    }

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @fredben

    on the payment page FROM the backoffice

    Are you referring to the page where a customer can pay for an existing order?

    Typically this type of error is caused by cache plugins. If you’re using a cache plugin, make sure you add the js.stripe.com script to the exclusion list of your cache plugin.

    Kind Regards

    • This reply was modified 2 years, 2 months ago by Clayton R.
Viewing 1 replies (of 1 total)

The topic ‘javascript error order-pay page’ is closed to new replies.