Title: javascript error order-pay page
Last modified: January 18, 2024

---

# javascript error order-pay page

 *  [fredben](https://wordpress.org/support/users/fredben/)
 * (@fredben)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-order-pay-page/)
 * 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:15501at credit-card.min.js?ver
   =3.3.55:1:15507Here i is Null :
 *     ```wp-block-code
       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](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-order-pay-page/#post-17354136)
 * Hi [@fredben](https://wordpress.org/support/users/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, 4 months ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).

Viewing 1 replies (of 1 total)

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

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

 * 1 reply
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/javascript-error-order-pay-page/#post-17354136)
 * Status: not resolved