If you are charging a fixed or % amount more for credit card sales, you can use a Payment Processor to automatically add the surcharge to that payment type. Have a look here, specifically Add Service Calculation: