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

Implement bulk enrollment view #196

Closed
3 tasks
gsidebo opened this issue Apr 29, 2019 · 1 comment · Fixed by #397
Closed
3 tasks

Implement bulk enrollment view #196

gsidebo opened this issue Apr 29, 2019 · 1 comment · Fixed by #397
Assignees

Comments

@gsidebo
Copy link
Contributor

gsidebo commented Apr 29, 2019

PR #178 (issue #112) added a form for sending bulk enrollment emails. Users receive a link in these emails that points to /enroll/?code=<coupon_code>&product=<product_id>. Right now there is a dummy view handling that URL. We need to implement the actual view to allow users to fully enroll in a course from that email link.

Acceptance Criteria:

  • Implement an enrollment view that takes a coupon code and product id in the querystring
    • If the user is logged in, redirect to the checkout page
    • If the user is not logged in redirects to the /login endpoint with a next parameter
    • A dummy enrollment view was added in Added admin-only bulk enrollment form #178 (ecommerce.views.anon_enrollment_view, url: /enroll/). The actual implementation should replace this view.
  • Ensure that a user can complete checkout and enroll in the course/program on edX
  • (possibly redundant) Add a nullable user column to ecommerce.models.BulkEnrollmentDelivery (foreign key to User), and set the value when a user successfully completes enrollment
@pdpinch
Copy link
Member

pdpinch commented May 14, 2019

I think this should use the same URL end point as described in #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants