First, I'd advice you to use Zen Cart as it's also free, based on Oscommerce, but better.
To accept credit cards you need a merchant account and a payment gateway, or 3pp ( third party processor)
What do you sell and where are you based?
What is your volume?