Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
It's easy - just use $block->getInfo()->getOrder(); for order
Required, but never shown