For getting started with accepting online payments through your Drupal website, you would require the Ubercart module installed and configured correctly with a desired Payment Gateway enabled. But before going to actual Payment Gateways, let us try out configuring Credit Card Payments with default Drupal Test Gateway.
Pre requirements: Ubercart module Installed and configured with store, products and cart checkout.
Here are the steps to configure Credit Card Payments,