Once a User is enrolled in a course or has completed a course, they are currently unable to purchase the course for other Users as they do not have access to the shopping cart for that course.
Please enable that Users can purchase a course for other Users even when they are enrolled or have completed that particular course