Magento Onepage Checkout Place Order button redirects to empty cart instead to success page - magento

I have an issue, and can not find what is causing it. On my local machine everything is working fine but when moved code to staging server on place order button, I'm getting redirected to empty cart page. I have looked system.log and exceptions.log, and also inspected through firebug, but I can't find anything. Did anybody had similar issue, or know how to fix this. Thanks
BTW it is Magento EE 1.14

Related

magento broken shopping rule page

I have a problem on magento backend that I am not sure what is happening. Shopping cart price rule was working completely fine, but suddenly the rule page look like this:
screenshoot of shopping rule page
The content of each tab is loaded inside the tab div itself instead of on the content area on the right. Content area is completely empty.
No code was touched in relation with promotions code, or admin/core code at all. I don't see any issue on console or not js code loaded. This is the only page affected (shopping cart price rule page), catalog rule works fine as well as any other with same structure (product page, customer page and such).
I was recently playing around with promotion too much, creating, deleting and editing. And solved a 500 issue on cart page increasing php memory limit. Not sure if related with this issue.
On apache logs it only displays the following when I access that page:
client denied by server configuration: /www/app/etc/local.xml
Could someone help me in where to look in order to solve this issue or have a hint about what could be the issue?
I am completely lost with this one. Magento version 1.7.
Thanks.
I finally found the issue. It was a extension related.
Recently I had some issues on cart page and at some point I disabled a promotion extension (Amasty shipping rules) though magento backend, on system/advanced extensions list.
Seems like the extension is disabled but still used on promotion page, adding the structure for the feature but not showing what is supposed to show (because is disabled) and breaking the layout.
Enabling again the extension or removing the extension on files avoid the issue.
1) clear the cache maybe you made a update and your cache is wrong. you can clear in the admin side clear all the types, or erase all inside /www/var/cache
2) clear the page history in your browser, all is fine but your machime show that weird.
3) after that check the browser console, because is a css problem, maybe a file is lost or change the permitions.

Magento - Customer login won't work on Onepage Checkout after 1.8.1 update from 1.7

After updating Magento from 1.7 to 1.8.1, I found myself correcting most of the formkey issues on my custom theme. I think everything now works correctly except for one thing: the customer login on the onepage checkout page doesn't seem to do anything. The problem seems really odd to me since the customer login works everywhere else on the site.
I use a module (Crius SkipStep1) to skip the first step and instead show the guest billing & shipping method first (with possibility of switching to the login system if wanted).
Using it or the default login system doesn't seem to do any difference; the problem is there in both cases. After login, the page reloads but doesn't show me anything more than before.
With the module, the checkout/onepage/saveMethod/ function runs after the page reloads. Without the module, nothing happens. In both cases, I can still do the guest checkout method without any issue.
And the odd thing is that if I type the password wrong, the page reloads normally and the error message for incorrect password shows up. I tried testing the default and base themes, and the problem occurs anyway despite the template files being up to date.
I think I tried everything and don't see what to do anymore, so I need help from fresh eyes.
Thanks.
I had a similar problem. You need to add <?php echo $this->getBlockHtml('formkey'); ?> after the <form> tag in the following files:
/app/design/frontend/../template/persistent/checkout/onepage/login.phtml
/app/design/frontend/../template/checkout/onepage/login.phtml
That should fix your login issue.
Added <?php echo $this->getBlockHtml('formkey'); ?> in the login forms of the checkout section and there you go. My issue was fixed.

Getting Protoype Error in Magento Checkout Onepage

I have read and searched through site about the prototype error I am getting during checkout on our site.
What is happening is that when onepage goes to the shipping methods part the display is showing none. after reading through other questions usually the prototype error is from a jquery.no conflict issue. I have exhausted that option and don't believe it is the issue. I am hoping there is something else for me to try.
Our issue is here https://rmi-online.com/checkout/onepage/
Everything works fine until you click continue on billing info and it goes to shipping method. Then it is just blank. This is painful because noone can place an order with the site. The frustrating issue is that it was working correctly but now it doesn't for some reason. I can't figure out what changed.

How to find out why Magento makes an redirect?

I'm running a Magento installation with several websites which are more or less configured identically. On one of the websites when I browse to the onepage checkout, which was highly customized, the user gets redirected to the website's homepage, although he should stay on the onepage checkout of course. For every of the other websites this works.
Until the layout rendering part I know that the controller get processed without any errors. And also the all my custom templates which are used in the onepage checkout gets loaded. I added some logging messages so I can see how far the layout got processed.
But just before finishing the render process an internal redirect happens and the homepage gets rendered. At the moment I have no idea how I could find out why or where the redirect happened.
So is there any way to find the source of the redirect?

Magento - returns blank / empty success page

I have a problem with the succes page from Magento. Hope somebody can help me with.
What is the problem; The whole site works completely, no errors at all. But when a customer fills in the comple onepage checkout, the customer goes to the payment service provider (PSP) to do their payment. The PSP sends the customer back to {domein}/checkout/onepage/success, which should be right. But... this page is completly empty. I already changed the memory_limit, enabled the developers log, enabled the display_errors in index.php and viewed the log files in Apache. But nothing is shown as error on the page and now errors are shown in the log files.
The orders are processed successfully, so only the displaying is wrong.
Please help with this problem or with a workaround. I need this page to track the affiliates, these need the transactionID and transactionamount.
PS: we use Magento 1.7.0.2, theme ma_housestore and the PSP Buckaroo
In this case, you should Mage log at the start and every few lines after of successAction method, which ensures it's properly called and where it got stuck.
In your case, successAction is not been properly called. Check in Mage/Checkout/controllers/OnepageController.php file you will find success action there.

Resources