Conditional payment gateway fees

Different payment gateways offer different fees, so depending on which one my customer selects, i want the gateway fees to be added to the invoice.