Feature request from licentia, posted on GitHub Oct 15, 2015
Magento should save the fee charged by Paypal for the transaction. This is very useful when trying to calculate Customer Equity & LTV. We have precise values and not approximate ones.
Check this doc: https://developer.paypal.com/docs/classic/api/merchant/GetTransactionDetails_API_Operation_NVP/ and the FEEAMT field.
FEEAMT should be added to the
protected $_getTransactionDetailsResponse
in
Magento\Paypal\Model\Api\Nvp
And stored in the
sales_order_payment table