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?
Related
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
I currently have my online store set up using Magento and i’m adding my products, I’ve tried to implement the PayPal Website Payments Standard but there is an error. When the user has passed through to the checkout section, after entering all their details, they fail to submit the order. The button is pressed to confirm order and redirect to the PayPal payment stage, the button will load saying that it's submitting the information, but nothing happens, it starts processing, then never goes through to the page. I've checked that the extension for Mage_paypal is enabled and it is.
If you would like try purchasing one of the test products on www.scarletkisses.com at the moment, you’ll be able to see what I mean.
Thanks.
2 things ..
Make sure that you have index management and cache management done
Try disabling and then enabling Mage_PayPal Module[Reindex the magento database after that]
I'm a magento front-end developer and I need to style the failed checkout page, but I don't know how to get to it, anyone?
After following the quick core code change shown here
Go to Mage_Checkout_OnepageController::successAction()
Comment the line $session->clear();. Now you can make one order and
refresh the page as often as you like.
for styling the success page, simply put through a test order and once you are on the success page just change the url from /checkout/onepage/success/ to /checkout/onepage/failure/
Don't forget to undo your modification to the core code to avoid the death penalty!
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.
I have a site, 1.5 magento, and the cart functionality (and the customer account functionality) seem to be disabled. When i attempt to go to the url 'checkout/cart', just the homepage displays.
Ive checked all the usual suspects..including:
checked the url_rewrites table (there is one entry in their referencing checkout/cart...but goes from checkout/cart to checkout/cart, so dont see this is an issue, but did edit it just to rule it out)
enabling/disabling of the module itself, looking at both the etc/modules files and removing, and checking the module listing in system->config->advanced area.
trying to step through the code..try detect where the change over of pagedata occurs - struggling here.
looking for certain terms in the codebase...and database SQL file.
the htaccess file, looking for a rewrite
local/community modules..and any rewriting of the checkout
Im starting to think a hack is in place here to show the homepage when visiting checkout url. The url : www.mysite.co.uk/checkout/cart remains in the address bar, but i see homepage data.
Anyone know where else i can check...or easily locate the cause of this issue?
Many thanks
S
Did you look in backend under Configuration -> Sales -> Checkout ?
There is a field called "Enable One-Page Checkout" which has to be enabled. If you disable it, your store will just run fine but neither registered customers nor guests can check out anymore.
Turns out this was rewrites added to the rewrite table manually. Didnt find them at first.