Title: Save cards don&#8217;t work? Javascript error?
Last modified: May 10, 2021

---

# Save cards don’t work? Javascript error?

 *  Resolved [kenw232](https://wordpress.org/support/users/kenw232/)
 * (@kenw232)
 * [5 years ago](https://wordpress.org/support/topic/save-cards-dont-work-javascript-error/)
 * I have a WP site that uses woocommerce-gateway-stripe.5.1.0. We’ve turned on 
   Saved Cards. But when I try to save a card as shown here:
    [https://snipboard.io/9kLfH7.jpg](https://snipboard.io/9kLfH7.jpg)
   We get javascript errors specifically from the stripe.js script. From firefox:
   [https://snipboard.io/eXKvkl.jpg](https://snipboard.io/eXKvkl.jpg) From Edge:
   [https://snipboard.io/zYHI9B.jpg](https://snipboard.io/zYHI9B.jpg) Why? Does 
   anyone know why this is a problem? r.error is undefined? We’re simply trying 
   to save credit cards for future selection during checkout. Which its suppose 
   to support. We’re using woocommerce V5.1.0 under WP 5.6.2.
    -  This topic was modified 5 years ago by [kenw232](https://wordpress.org/support/users/kenw232/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * (@thup90)
 * [5 years ago](https://wordpress.org/support/topic/save-cards-dont-work-javascript-error/#post-14425823)
 * Hi [@kenw232](https://wordpress.org/support/users/kenw232/),
 * I understand there is a console error when you turned on Save card. Did the order
   complete successfully? If not, do you see any error on the Checkout page itself?
 * And does this error show up when you don’t check Save card?
 * Also, could you share your **System Status Report**, it would help us to understand
   your site setup a bit better. You can find it via **WooCommerce > Status**. Select**
   Get system report** and then **Copy for support**. Once you’ve done that, paste
   it here in your reply.
 *  Thread Starter [kenw232](https://wordpress.org/support/users/kenw232/)
 * (@kenw232)
 * [5 years ago](https://wordpress.org/support/topic/save-cards-dont-work-javascript-error/#post-14429864)
 * I needed to update jQuery, the version was too old I guess. Thanks for your response.
 *  Plugin Support [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * (@thup90)
 * [5 years ago](https://wordpress.org/support/topic/save-cards-dont-work-javascript-error/#post-14434071)
 * Hi there,
 * I’m glad you found the culprit. I’m going to mark this as resolved – if you have
   any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Save cards don’t work? Javascript error?’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/save-cards-dont-work-javascript-error/#post-14434071)
 * Status: resolved