If your selling prices are set to GST Inclusive in Admin / Defaults / Manage Product Defaults you can set up a credit card surcharge in Financial Defaults. .
Admin / Defaults / Manage Financial Defaults
Set up a product code “CC” – set the sales G/L to Bank Fees in the Settings Tab.
When taking payment by credit card, add a product line CC and the percentage will be calculated automatically.