Added commerce/purchase endpoint
This new endpoint is intended to replace enrollment API call used on the login+registration page. Instead of directly enrolling students, the view will contact the external e-commerce API (Oscar) to create a new order. Oscar will be responsible for completing the order and enrolling the student. This behavior will only apply to course modes with associated SKUs. All other course mode enrollments will be processed directly by LMS.
Showing
lms/djangoapps/commerce/__init__.py
0 → 100644
lms/djangoapps/commerce/constants.py
0 → 100644
lms/djangoapps/commerce/http.py
0 → 100644
lms/djangoapps/commerce/models.py
0 → 100644
lms/djangoapps/commerce/tests.py
0 → 100644
This diff is collapsed.
Click to expand it.
lms/djangoapps/commerce/urls.py
0 → 100644
lms/djangoapps/commerce/views.py
0 → 100644
Please
register
or
sign in
to comment