1

Anyone having this problem with One Page Checkout Extension?

The onepage/ page doesn't stop loading (shows a "loading circle" in center of page). Using the Chrome Console, it shows the following error:

checkout.js:805 Uncaught TypeError: Cannot read property 'init' of undefined

Circle in the middle of page: CIRCLE FROM HELL

closed as off-topic by 7ochem, Murtuza Zabuawala, Qaisar Satti, Keyul Shah, Arunendra Jan 24 '17 at 8:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – 7ochem, Murtuza Zabuawala, Qaisar Satti, Keyul Shah, Arunendra
If this question can be reworded to fit the rules in the help center, please edit the question.

  • please tell your magento version and which checkout extension are you using? – Murtuza Zabuawala Sep 29 '16 at 22:47
  • Magento 1.9.2.4, extension: iwd checkout suite (this one: magentocommerce.com/magento-connect/one-page-checkout.html) – Rafael Miller Sep 29 '16 at 22:49
  • I have implemented this extension in my many site but I have never face this issue. please check your browser console for error and try to solve that js error – Murtuza Zabuawala Sep 29 '16 at 22:50
  • The if that is returning error is this one: if (typeof(response.payments) != "undefined") { $j_opc('#checkout-payment-method-load').html(response.payments); $j_opc('#checkout-payment-method-load').empty().html(response.payments).promise().done(function(){ IWD.OPC.BrainTree.init(); }); payment.initWhatIsCvvListeners(); IWD.OPC.bindChangePaymentFields(); IWD.OPC.Decorator.setCurrentPaymentActive(); }; I'm using a specific payment method – Rafael Miller Sep 29 '16 at 22:53
  • I think there is no payment method active in your website for your current address if you are register user or maybe for guest user there is no payment method available ,please check and let me know – Murtuza Zabuawala Sep 29 '16 at 23:00
0

I think there is no payment method active in your website for your current address, if you are register user, or maybe for guest user there is no payment method available ,please check and let me know.

above two case is only possible case when this error come. Because you getting payment method null

  • Hi, thanks for the answer but I think that this one page checkout just can't handle with the payment method that I choose :( – Rafael Miller Sep 30 '16 at 19:23
0

I had the same problem.

extend.js file connected to Magento theme in the old version. Replace extend.js on the actual version of the IWD OPC extension

Not the answer you're looking for? Browse other questions tagged or ask your own question.