I once wrote a big e-commerce platform for moodle to sell courses.
There is a PayPal integration for Moodle, but as for something like authorize.net to take credit card payments - you'll have to build it as I did.
You'll also need to be PCI compliant if you're storing credit card data. You'll need an SSL certificate too.