I've made payment extension. It works well.

Now I need to make showing payment url (below payment method name)

On 1.x I just edit info.phtml with using function $this->isEmailContext()

How can I make it now? And how to get current order?

  • I have searched payment info block, but have found nothing.
    – Grohotun
    Jan 29 '16 at 8:29

It's easy - just use $block->getInfo()->getOrder(); for order

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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