Title: Javascript Error on Checkout
Last modified: September 12, 2021

---

# Javascript Error on Checkout

 *  Resolved [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years ago](https://wordpress.org/support/topic/javascript-error-on-checkout-3/)
 * After doing Payment with Klarna (entered date of birth and phone number and clicking
   ok in the klarna popup), the order gets created in the background and its registered
   in klarna.
 * The problem is, the customer never gets redirected to the order complete page
   because of a javascript error:
 * (index):7 Uncaught TypeError: Cannot read properties of undefined (reading ‘success’)
   
   at Object.complete (klarna-payments.js?ver=2.6.0:formatted:297) at c (jquery.
   min.js?ver=3.6.0:2) at Object.fireWith (jquery.min.js?ver=3.6.0:2) at l (jquery.
   min.js?ver=3.6.0:2) at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.6.0:2)
   at XMLHttpRequest.nrWrapper ((index):7) Any help on this problem? Thanks

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

 *  [krokedilmartin](https://wordpress.org/support/users/krokedilmartin/)
 * (@krokedilmartin)
 * [5 years ago](https://wordpress.org/support/topic/javascript-error-on-checkout-3/#post-14864849)
 * Hello. Please send this message to [support@krokedil.se](https://wordpress.org/support/topic/javascript-error-on-checkout-3/support@krokedil.se?output_format=md).
   Please attach a a status report by following this guide:
    [https://docs.woocommerce.com/document/understanding-the-woocommerce-system-status-report/](https://docs.woocommerce.com/document/understanding-the-woocommerce-system-status-report/)
 *  [lindareinhold](https://wordpress.org/support/users/lindareinhold/)
 * (@lindareinhold)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-on-checkout-3/#post-15351279)
 * Closing this support topic, then it is posted in the wrong forum for the wrong
   plugin.
 * From the thread creator:
    “_I did post this in the wrong plugin support, you 
   can delete this topic._“

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

 The topic ‘Javascript Error on Checkout’ is closed to new replies.

 * ![](https://ps.w.org/klarna-payments-for-woocommerce/assets/icon-256x256.png?
   rev=3174333)
 * [Klarna for WooCommerce](https://wordpress.org/plugins/klarna-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/klarna-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [lindareinhold](https://wordpress.org/support/users/lindareinhold/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-on-checkout-3/#post-15351279)
 * Status: resolved