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-2/)
 * 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 1 replies (of 1 total)

 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years ago](https://wordpress.org/support/topic/javascript-error-on-checkout-2/#post-14863566)
 * I did post this in the wrong plugin support, you can delete this topic.

Viewing 1 replies (of 1 total)

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

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

 * 1 reply
 * 1 participant
 * Last reply from: [kawo83](https://wordpress.org/support/users/kawo83/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/javascript-error-on-checkout-2/#post-14863566)
 * Status: resolved