I assume you meant "expecting a direct payment TO the patient"?
My understanding is that prescriptions are required for medications that carry risk, so a doctor needs to evaluate if it is appropriate for the patient, and at what dose.
This avoids people self diagnosing and taking random doses of various medications.
Pharmacies are happy to sell you medications that aren't covered by insurance at full price.