I Have Created a custom payment method which enabled in admin and showing in

one-step checkout page, But on clicking the proceed order the order payment

is not redirecting to a success page, Can anyone help me in these

Thanks In advance

  • Please, add code of the method to your question Commented May 30, 2017 at 5:29

1 Answer 1


Use this in your controller:

$this->_redirect('checkout/onepage/success', array('_secure'=>true));


Why do you need to redirect from a model ? generally the redirects should happen in controllers. However if you have some exception in your case and you should to redirect from a model, try this code below:

  • Can I call these in model also @prince Commented May 31, 2017 at 9:01
  • Look my update please.
    – PЯINCƎ
    Commented May 31, 2017 at 10:36

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.