php - Magento: Placing Order doesn't redirect to success page -


i have little problem placing order button on magento. reasons when complete order , click "place order" doesn't redirect page in success page (or elsewhere) stays in checkout page products still inside (image http://i.stack.imgur.com/74i3x.png happen when click place order button)

i don't know modify redirect page.

this code /checkout/controllers/onepagecontroller.php

  /**  * order success action  */ public function successaction() {     $session = $this->getonepage()->getcheckout();     if (!$session->getlastsuccessquoteid()) {         $this->_redirect('checkout/cart');         return;     }      $lastquoteid = $session->getlastquoteid();     $lastorderid = $session->getlastorderid();     $lastrecurringprofiles = $session->getlastrecurringprofileids();     if (!$lastquoteid || (!$lastorderid && empty($lastrecurringprofiles))) {         $this->_redirect('checkout/cart');         return;     }      $session->clear();     $this->loadlayout();     $this->_initlayoutmessages('checkout/session');     mage::dispatchevent('checkout_onepage_controller_success_action', array('order_ids' => array($lastorderid)));     $this->renderlayout(); } 

please make sure have php-mbscript enabled in server.

magento 1.9.x version requires needs turned on if disabled

for more information can read following post

https://magento.stackexchange.com/questions/62744/place-order-button-doesnt-go-to-success-confirmation-page-1-9-1-0


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -