You can sell your courses and memberships directly on your website by using LifterLMS native payment gateways Stripe or Authorize.Net.
When using LifterLMS WooCommerce, many payment gateways allow on-site credit card processing.
When accepting credit card payments directly on your site, you must have an SSL certificate installed on your web server.