Formula
PayPal commercial fees are modeled as a percentage of the payment amount plus a fixed fee. International commercial transactions add an extra percentage.
net received = payment amount - ((payment amount × PayPal rate) + fixed fee + other costs)