Magento Forum

Page 1 of 3
How do I download a previous version of Magento? (and Payment checkout issues)
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

Since I can not get Authorize.net payment to work with version 0.6.12510, I’d like to take a look at the previous version, where it did work.  Can anybody point me to where I can download that?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
RoyRubin
Administrator
 
Avatar
Total Posts:  968
Joined:  2007-08-07
Los Angeles, CA
 

You can grab it from here - http://s3.assets.magentocommerce.com/product/Magento-B1Preview-0.6.tar.gz

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

Great!  Thank you!

 
Magento Community Magento Community
Magento Community
Magento Community
 
YoavKutner
Guru
 
Avatar
Total Posts:  491
Joined:  2007-08-08
 

Please let us know if this works for you now.

thanks

yoav

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

There were no changes in Authorize.net functionality with newer release.

Do you have an account with Authorize.net and did you put your API credentials in admin / system / configuration / payments / authorize.net ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

Yes, AuthNet is setup with the login API and Transaction key.  I get the same generic “Error” message when I turn off the AuthNet payment module and use the plain Credit Card module, so it’s probably not specific to the AuthNet module.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

I just re-installed Magento-B1Preview-0.6.tar.gz. The payment / checkout system in Magento-B1Preview-0.6.tar.gz works fine for me.

I’m not sure if it matters, but I’m on 1&1;hosting and this is the .htaccess file I’m currently using:

# load all PHP files as PHP5
AddType x-mapp-php5 .php

# php_flag magic_quotes_gpc off
# php_flag short_open_tag on

DirectoryIndex index.php

RewriteEngine on
RewriteBase 
/magento/magento/
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php 

# RewriteEngine on

# RewriteCond %{REQUEST_URI} !^/media/
# RewriteCond %{REQUEST_URI} !^/skin/
# RewriteCond %{REQUEST_URI} !^/js/
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-l

# RewriteRule .* index.php
 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

If you are using Firefox and Firebug, could you open Console and paste the last ajax POST response here?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

From the non-working Magento install (demo cc number):

/savePayment/

payment[method]=ccsave&payment;[cc_owner]=Brady&payment;[cc_type]=AE&payment;[cc_number

]=xxxxxxxxxxxx&payment;[cc_exp_month]=1&payment;[cc_exp_year]=2009&payment;[cc_cid]=12

34

/saveOrder/

save=true

From the working Magento install(demo cc number):

/savePayment/

payment[method]=authorizenet&payment;[cc_owner]=Brady%20&payment;[cc_type]=AE&payment;[cc_number]=xxxxxxxxxxxx&payment;[cc_exp_month]=1&payment;[cc_exp_year]=2009&payment;[cc_cid

]=1234

/saveOrder/

save=true
 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

I’m new to Firebug.  Is that the info you needed?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

You pasted Requests, I need Responses. It’s different tab (1st from right) for each request.

As a side note, for everyone reading this, when you copy/paste API communications, please make sure that no personal information is revealed on forums.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

From the Non-Working Install:

/checkout/onepage/saveOrder/

exception 'Exception' with message 'Customer email already exists' in /homepages/2/d212266666/htdocs

/store/app/Mage.php:299

Stack trace
:

#0 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Customer/Model/Entity/Customer.php(61): Mage

::throwException('Customer email ...')

#1 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Eav/Model/Entity/Abstract.php(798): Mage_Customer_Model_Entity_Customer-

>_beforeSave(Object(Mage_Customer_Model_Customer))

#2 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Customer/Model/Customer.php(106): Mage_Eav_Model_Entity_Abstract-

>save(Object(Mage_Customer_Model_Customer))

#3 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Checkout/Model/Type/Onepage.php(353): Mage_Customer_Model_Customer-

>save()

#4 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Checkout/Model/Type/Onepage.php(254): Mage_Checkout_Model_Type_Onepage-

>_createCustomer()

#5 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Checkout/controllers/OnepageController.php

(186): Mage_Checkout_Model_Type_Onepage->saveOrder()

#6 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Core/Controller/Varien/Action.php(232): Mage_Checkout_OnepageController-

>saveOrderAction()

#7 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php

(138): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')

#8 /homepages/2/d212266666/htdocs/store/app/code/core/Mage/Core/Controller/Varien/Front.php(139): Mage_Core_Controller_Varien_Router_Standard-

>match(Object(Zend_Controller_Request_Http))

#9 /homepages/2/d212266666/htdocs/store/app/Mage.php(356): Mage_Core_Controller_Varien_Front->dispatch

()

#10 /homepages/2/d212266666/htdocs/store/index.php(27): Mage::run('base')

#11 {main}{"error":1}

From the working install:

/checkout/onepage/saveOrder/

{"review_html":"<table cellspacing=\"0\" class=\"data-table\" id=\"checkout-review-table\">\r\n\t<thead

>\r\n\t\t<tr>\r\n\t\t\t<th>Product Name<\/th>\r\n\t\t\t<th class=\"
a-right\">Price<\/th>\r\n\t\t\t<th

 class=\"
a-center\">Qty<\/th>\r\n\r\n\t\t\t<th class=\"a-right\">Subtotal<\/th>\r\n\t\t<\/tr>\r\n\t<

\/thead>\r\n\t<tfoot>\r\n        <tr>\r\n            <td style=\"
\" class=\"a-right\" colspan=\"3\">Subtotal

<\/td>\r\n            <td style=\"
\" class=\"a-right\">$161.94<\/td>\r\n        <\/tr>\r\n        <tr

>\r\n            <td style=\"
\" class=\"a-right\" colspan=\"3\">Shipping & Handling (United Parcel Service

 - Ground)<\/td>\r\n            <td style=\"
\" class=\"a-right\">$8.12<\/td>\r\n        <\/tr>\r\n  

      <tr>\r\n            <td style=\"
\" class=\"a-right\" colspan=\"3\">Grand Total<\/td>\r\n      

      <td style=\"
\" class=\"a-right\">$170.06<\/td>\r\n        <\/tr>\r\n\t<\/tfoot>\r\n\t<tbody>\r

\n        <tr>\r\n\t\t\t<td> Olympus Stylus 750 7.1MP Digital Camera<\/td>\r\n\t\t\t<td class=\"
a-right

\
">$161.94<\/td>\r\n\t\t\t<td class=\"a-center\">1<\/td>\r\n\t\t\t<td class=\"a-right\">$161.94<\/td

>\r\n\t\t<\/tr>\r\n\t<\/tbody>\r\n<\/table>\r\n<script type=\"
text\/javascript\">decorateTable('checkout-review-table'

)<\/script>\r\n"
}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

Just did a separate install through the command line w/ the “full” install file…

I still get the random “error” message on checkout, but a different response in Firebug:

/checkout/onepage/saveOrder/

exception 'Mage_Sales_Exception' with message 'Errors during order creation' in /homepages/2/d212266666/htdocs/store/magento/app/Mage.php:290
Stack trace
:
#0 /homepages/2/d212266666/htdocs/store/magento/app/code/core/Mage/Sales/Model/Order.php(64): Mage::exception('Mage_Sales', 'Errors during o...')
#1 /homepages/2/d212266666/htdocs/store/magento/app/code/core/Mage/Checkout/Model/Type/Onepage.php(301): Mage_Sales_Model_Order->validate()
#2 /homepages/2/d212266666/htdocs/store/magento/app/code/core/Mage/Checkout/controllers/OnepageController.php(186): Mage_Checkout_Model_Type_Onepage->saveOrder()
#3 /homepages/2/d212266666/htdocs/store/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(232): Mage_Checkout_OnepageController->saveOrderAction()
#4 /homepages/2/d212266666/htdocs/store/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(138): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#5 /homepages/2/d212266666/htdocs/store/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(139): Mage_Core_Controller_Varien_Router_Standard->match(Object(Zend_Controller_Request_Http))
#6 /homepages/2/d212266666/htdocs/store/magento/app/Mage.php(356): Mage_Core_Controller_Varien_Front->dispatch()
#7 /homepages/2/d212266666/htdocs/store/magento/index.php(27): Mage::run('base')
#8 {main}{"error":1}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Thank you, exactly what I needed.

In development trunk the issue with showing error messages correctly has been resolved.

So, in 1st case there’s a problem with “register” checkout method, when you are trying to create a customer with already existing email.
I’m not sure what was the error in 2nd case, but in next minor release it will be shown.

 
Magento Community Magento Community
Magento Community
Magento Community
 
CrashTest
Member
 
Avatar
Total Posts:  43
Joined:  2007-09-12
Boise, ID
 

I am having the exact same problem using the latest version, authorize.net module in test, with the email address error, and only free shipping enabled.  I get the generic “error” alert, however I was able to create an account regardless of the fact that I can’t actually complete the checkout, just the error alert.  Now, because I am able to create the account, when I log in and attempt to go to checkout I get a very long error repeated 3 times.  Starts like this (replaced my username with ‘myusername’):

Notice: Object of class Mage_Customer_Model_Address could not be converted to int in /home/myusername/public_html/app/code/core/Mage/Core/Block/Html/Select.php on line 105
[0] in in_array("6", Array[1]) in /home/myusername/public_html/app/code/core/Mage/Core/Block/Html/Select.php on line 105
[1] in Mage_Core_Block_Html_Select->toHtml() in /home/myusername/public_html/app/code/core/Mage/Core/Block/Html/Select.php on line 114
[2] in Mage_Core_Block_Html_Select->getHtml() in /home/myusername/public_html/app/code/core/Mage/Checkout/Block/Onepage/Abstract.php on line 119
[3] in Mage_Checkout_Block_Onepage_Abstract->getAddressesHtmlSelect("billing") in /home/myusername/public_html/app/design/frontend/default/roca/template/checkout/onepage/billing.phtml on line 24
[4] in include("/home/myusername/public_html/app") in /home/myusername/public_html/app/code/core/Mage/Core/Block/Template.php on line 104
[5] in Mage_Core_Block_Template->fetchView("frontend/default/roca/template") in /home/myusername/public_html/app/code/core/Mage/Core/Block/Template.php on line 134

It just keeps going from there.  I submitted a bug report.  Crossing my fingers.

Pat

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@CrashTest: thanks for the error text, this was fixed

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 3