This is my xml :


This is my Observer :

class Test_MageWidget_Model_Observer {

    public function testRedirection($observer) {
        try {
            Mage::log('Hi', null, 'magewidget.log');
        } catch (Exception $e) {

After placing order event being triggered, but redirection not working properly. It's showing in Browser network response, but not reflecting on the browser.

What can be the reason behind this? Please help me.

1 Answer 1


Try :

public function testRedirection($observer) {
    Mage::log('Hi', null, 'magewidget.log', true); 
  • Hi Prince, Thanks for your help but still having the same issue.
    – Mr. Nanhe
    Oct 30, 2018 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.