We want to display the selected payment method on the review page. We want to place this in review.phtml

I tried this, but it did not work:

$payment = Mage::getSingleton('checkout/session')->getQuote()->getPayment()->getMethodInstance()->getTitle();

Does anyone know the correct code to fix this?


  • Are you using one page checkout ?
    – eetzen
    Dec 22, 2014 at 14:09
  • Yes, we use one page checkout
    – JGeer
    Dec 22, 2014 at 15:58

1 Answer 1


It's working fine (I tested it). But please try not to put in <div class="order-review" id="checkout-review-load"> because it's overwrite dynamically. Put the code above or below this div.

  • I tried it, but I get an Magento report error, that is saying: The asked payment method is not available. With this line: app/code/core/Mage/Payment/Model/Info.php(82)
    – JGeer
    Dec 22, 2014 at 18:18
  • What payment method are you using? Please try with some core method as Cash On Delivery or Check / Money order.
    – michael
    Dec 22, 2014 at 18:24
  • Well that is the problem, we use persistent checkout. So I can not reach that stap, the error is showing on the first step of the default Magento one page checkout.
    – JGeer
    Dec 22, 2014 at 18:28
  • You had to start with this. :) Then move the code in review/info.phtml because this is the content that is loaded dynamically in review.phtml and you won't have problems.
    – michael
    Dec 22, 2014 at 19:35
  • Well I placed the code also in review/info.phtml but it won't show up. I placed the code before and after <?php echo $this->getChildHtml('items_before'); ?>.
    – JGeer
    Dec 22, 2014 at 19:52

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.