In Magento 1, you could retrieve amounts from the Fooman Surcharge extension using

. This no longer works in Magento 2. Instead, Magento 2 provides extension attributes. The following code retrieves surcharges from different Fooman extensions for further processing:

Viel Erfolg :-)!

Reading Fooman Surcharge data from an order
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: