How is course access granted after payment?
Access opens automatically only after the payment service confirms the payment, not when the buyer returns to the thank-you page. The plan settings define what access includes and for how long: forever, for a cohort or for the subscription. When money is refunded, access is withdrawn under the same rules the buyer saw at payment.
More in the guide to online learning platform development.