Skip to content

Magento2: Unable to fetch the surcharge amount added by Fooman_Surcharge extension

Magento 2.4.6

I am trying to get an orders surcharge amount which was added by the Fooman Surcharge extension.

In Magento 1 it worked with $order->getFoomanSurchargeAmount();, in Magento 2 it doesnt work this way.

Any ideas how to get the amount from an order object?

Thanks!