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

Another Bug - After successful checkout, the cart is not empty
 
Redhat
Jr. Member
 
Total Posts:  16
Joined:  2008-07-06
Tel Aviv
 

Hey ebizmarts, thanks for the patch. You guys take it seriously and that is a good thing to know.

Does the fix work with James’es patch? or do i need to undo it before applying your new version?

Can you guys report if the patch worked for you and solved the problems? Does it have any new bugs?

I am very worried about applying patches and upgrades to the Magento system after i suffered 2 weeks of troubles with the last upgrade.

 
Magento Community Magento Community
Magento Community
Magento Community
 
iboxsecuritydotnet
Jr. Member
 
Total Posts:  18
Joined:  2009-01-03
 

i understand it applies only to PROTX however with it being the same “issue” not necesarily same “cause” i was wondering if anyone had any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ebizmarts
Mentor
 
Avatar
Total Posts:  2202
Joined:  2008-03-10
Montevideo, Uruguay
 
Redhat - 05 February 2009 07:24 AM

Hey ebizmarts, thanks for the patch. You guys take it seriously and that is a good thing to know.

Does the fix work with James’es patch? or do i need to undo it before applying your new version?

Can you guys report if the patch worked for you and solved the problems? Does it have any new bugs?

I am very worried about applying patches and upgrades to the Magento system after i suffered 2 weeks of troubles with the last upgrade.

I can confirm that it works for us, however I cannot say it is error free :( , the best way to deal with this is to do extensive testing on your test server setup.

 
Magento Community Magento Community
Magento Community
Magento Community
 
spabhat
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2008-05-22
 

Hi Guys,

I am using Cheque / Money Order (not Protx) and still same issue.
Has anyone solved this issue with cheque/money order, guys any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Matt Collins
Jr. Member
 
Total Posts:  16
Joined:  2008-09-17
 

I’m also getting this with the standard protx module that uses VSP form.
The fix for the direct module sadly doesn’t play with this at all.

It looks like it is coming back from protx OK as the order status gets updated and the success email is fired off. It then redirects to the success page but the success page is failing to see that the order is OK/complete.

Anyone else getting this or, hopefully, had it and solved it!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Matt Collins
Jr. Member
 
Total Posts:  16
Joined:  2008-09-17
 

Further to this, the problem seems to be with the setting and testing of whether the order completed or not.

In the protx standardcontroller page a session variable is set but in the onepage controller a test is done on

if (!$this->getOnepage()->getCheckout()->getLastSuccessQuoteId())
(line 168 roughly).

This is a change from the test carried out in v1.1.6. I’ve just put this back in place and the checkout behaves correctly.

v1.2.1.2 test

if (!$this->getOnepage()->getCheckout()->getLastSuccessQuoteId()) {
           $this
->_redirect('checkout/cart');
           return;
}

v1.1.6 test

if (!$this->getOnepage()->getQuote()->hasItems()) {
            $this
->_redirect('checkout/cart');
            return;
        
}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Prema
Jr. Member
 
Total Posts:  2
Joined:  2008-06-10
 

How to set protx payment method with test account.
I can see the admin section, How to proceed further

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mootrealm
Sr. Member
 
Avatar
Total Posts:  150
Joined:  2007-09-14
San Francisco, CA
 

Was this ever resolved?

I am having the same problem in 1.2.0.3 with Paypal and Check / Money Order.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ajaxfish
Jr. Member
 
Total Posts:  6
Joined:  2008-07-13
 

I have the same problem with Check / Money Order payment option on 1.3.2.2

 
Magento Community Magento Community
Magento Community
Magento Community
 
alienn95
Member
 
Total Posts:  38
Joined:  2009-02-05
Latvia
 

There is such issue with custom customer attributes set also in my shop. I tried everithing, but only deleting of some “get custom customer data for order” functions solved the process. Yet checking all out....

 
Magento Community Magento Community
Magento Community
Magento Community
 
CalLookUK
Jr. Member
 
Total Posts:  1
Joined:  2009-10-19
 

Hi,

I found this thread as I was having exactly the same issue - upping the php script memory to 64mb seems to have done the trick!

Cheers,

Steve

 
Magento Community Magento Community
Magento Community
Magento Community
 
alienn95
Member
 
Total Posts:  38
Joined:  2009-02-05
Latvia
 

In other shop I found similar problem. Solution was to remove one shipping or payment method with caused problem after I made translation for it in Admin panel, it wasnt made correctly translatable. I replaced it with similar module and everything started to work as it should.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Chuck Norton
Jr. Member
 
Total Posts:  26
Joined:  2010-01-07
 

Yikes - I’m having same problem!! However, I Don’t have Protx installed at all, I’m running v 1.3.2.4.

I did try upping script memory lik callookuk. I havn’t made any changes to shipping methods like alienn95

Anyone else have similar problem w/out PROTX?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Firsthandconcepts
Jr. Member
 
Total Posts:  6
Joined:  2010-02-16
 

Chuck,
Yes I’m having a similar problem with out PROTX. I’m using Authorize.net however I’m having sporadic occasions where the I’m being redirected back to the cart after checkout is completed. I’m using ver 1.4.0.1 and even just using a check/money order I see this issue happen. I just tried upping the memory via .htaccess file and will see if that helps although I’m concerned that is not the right fix here.

http://www.magentocommerce.com/boards/viewthread/78590/

On a side note my site is super slow and I’ve yet to uncover how to optimize magento. I’m a newbie for sure. 
Here’s my site:

http://www.bullandbearpolo.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
jamielife
Jr. Member
 
Total Posts:  3
Joined:  2010-08-09
 

Alright so i figred it out (at least for me) :

I was having the same problem and I don’t use protix, just the included onepage checkout.

In: app/code/core/Mage/Checkout/controllers/OnepageControllers.php

Around line 427 I found:

public function saveOrderAction()
    
{
        
if ($this->_expireAjax()) {
            
return;
        
}

        $result 
= array();
        try 
{
            
if ($requiredAgreements Mage::helper('checkout')->getRequiredAgreementIds()) {
                $postedAgreements 
array_keys($this->getRequest()->getPost('agreement', array()));
                if (
$diff array_diff($requiredAgreements$postedAgreements)) {
                    $result[
'success'false;
                    
$result['error'true;
                    
$result['error_messages'$this->__('Please agree to all Terms and Conditions before placing the order.');
                    
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
                    return;
                
}
            }
            
if ($data $this->getRequest()->getPost('payment'false)) {
                $this
->getOnepage()->getQuote()->getPayment()->importData($data);
            
}
            $this
->getOnepage()->saveOrder();
            
$redirectUrl $this->getOnepage()->getCheckout()->getRedirectUrl();
            
$result['success'true;
            
$result['error']   false;

and added this to underneath (line 452 for me)

Mage::getSingleton('checkout/session')->clear();

so it was right above:

catch (Mage_Core_Exception $e{

Afterwards my cart emptied after each checkout!

Hope it helps

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