There are several areas of the LMS you need to configure to enable online payments to pay for courses:
Optionally, if your organization uses a payment gateway not supported by the LMS, a payment plugin must be configured. This usually occurs as part of the LMS implementation and is beyond the scope of this help system.
First task: System Configuration for Online Payments
Additional Information
System Configuration for Online Payments