Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrollment is not activated in edX once you unenroll from a paid mode and then re-enroll #1797

Open
arslanashraf7 opened this issue Aug 4, 2023 · 0 comments
Labels
bug Something isn't working product:mitx-online

Comments

@arslanashraf7
Copy link
Contributor

arslanashraf7 commented Aug 4, 2023

Steps to Reproduce

  • Enroll yourself in a paid mode of a course
  • Unenroll yourself through MITxOnline /dashboard
  • Re-enroll
  • You would see enrollment in the MITxOnline dashboard but the enrollment in edX would still be inactive.

Expected Behavior

  • Enrollment in edX should be activated again when a user re-enrolls in a course.

Actual Behavior

  • Enrollment in edX is inactive, User sees Enroll now button when they open the course through the MITxOnline dashboard

Possible Resolution:

We would probably need to add something like the below code change in https://github.com/mitodl/edx-api-client/blob/master/edx_api/enrollments/__init__.py#L161, so that enrollment is reactivated upon re-enrollment.

enrollment_data['is_active'] = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product:mitx-online
Projects
None yet
Development

No branches or pull requests

1 participant