Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

onepage checkout javascript errors
 
portalzine
Jr. Member
 
Avatar
Total Posts:  9
Joined:  2008-05-15
Germany
 

Hi,

I have the whole website setup and all worked without errors so far.

Only getting javascripts errors on the checkout pages and can not move forward with the actual checkout:

Billing is not defined
[Break on this error] var checkout = new Checkout(accordion,
onepage (line 650)
Shipping is not defined
[Break on this error] var shipping = new Shipping(’co-ship...dex.php/checkout/onepage/saveShipping/’,
onepage (line 474)
ShippingMethod is not defined
[Break on this error] var shippingMethod = new ShippingMet.../checkout/onepage/saveShippingMethod/");
onepage (line 498)
Payment is not defined
[Break on this error] var payment = new Payment(’co-payment-fo...dex.php/checkout/onepage/savePayment/’);
onepage (line 522)
payment is undefined
[Break on this error] payment.init();
onepage (line 543)
payment is undefined
[Break on this error] payment.currentMethod = “”;
onepage (line 585)
Review is not defined
[Break on this error] var review = new Review(’index.php/checkout/onepage/success/’);
onepage (line 641)
Checkout is not defined

Thanks for any tips or hints
Alexander

 
Magento Community Magento Community
Magento Community
Magento Community
 
TemplatesMaster
Guru
 
Avatar
Total Posts:  308
Joined:  2008-04-01
Switzerland
 
portalzine - 22 July 2008 11:45 AM

Hi,

I have the whole website setup and all worked without errors so far.

Only getting javascripts errors on the checkout pages and can not move forward with the actual checkout:

Thanks for any tips or hints
Alexander

Hello Alexander, please check if you have skin/frontend/default/default/opcheckout.js. Most likely you are missing this file.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Fedir
Jr. Member
 
Total Posts:  2
Joined:  2010-10-18
 

Thanks a lot, that works.

 
Magento Community Magento Community
Magento Community
Magento Community
 
dotsdigits
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2009-10-21
Nijmegen
 

Jup, it worked, thanks.
Error happened at random.

 
Magento Community Magento Community
Magento Community
Magento Community
 
dave0688_1
Jr. Member
 
Total Posts:  8
Joined:  2012-01-26
 

Where do I get this file from? I get the same errors and the file is missing.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Virtual Tiger
Jr. Member
 
Avatar
Total Posts:  24
Joined:  2009-03-30
 

The file is in now in skin/frontend/base/default/js/

 
Magento Community Magento Community
Magento Community
Magento Community
 
opera80
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2012-05-31
 

I have same error so, I checked it but, I had that file on the path

/skin/default/default/js/opcheckout.js

so, I copied to three directory to /skin/base/default/js/opcheckout.js
/skin/default/my template/js/opcheckout.js

but, I still have this error

What should I do next?

Image Attachments
blocked.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
marcaum54
Jr. Member
 
Total Posts:  1
Joined:  2012-10-07
 

It did not work; (

When I select the shipping method, it displays the error “payment is undefined” in javascript console ...

Someone else can help?

Image Attachments
error.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
GoMageTeam
Guru
 
Avatar
Total Posts:  356
Joined:  2013-01-13
Warsaw, Poland
 

Hello,

We can advise you to use our LightCheckout extension:

http://www.gomage.com/extensions/gomage-lightcheckout.html

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top