Can I accept course purchases with both PayPal and just a credit card?
Yes. A student who pays with PayPal does not need a PayPal account. They can pay with a credit or debit card, or with other methods PayPal offers in their country.

PayPal works for one-time payments, such as a product or a bundle. Subscriptions need Stripe.
To connect PayPal, see How to integrate PayPal.