#StackBounty: #magento2 #orders #payment-methods #object Magento 2, How to get Payment infoInterface from order

Bounty: 100

Hi I am working on a custom payment method.
I am stuck in between where one of my method required Payment object of MagentoPaymentModelInfoInterface

But I am getting MagentoSalesModelOrderPaymentInterceptor

from order object.

How Can I get this Payment object of MagentoPaymentModelInfoInterface?

Thanks


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.