How to fix orders stuck in Fulfillment Error state
Usually support team needs help fixing large number of orders stuck in fulfillment error state, this runbook will help fulfilling those orders and marking them as completed.
There are two management commands to help resolve this issue, one in edx-platform to enroll/upgrade learners into course with their respective mode from these orders and the second one is from ecommerce to mark these orders as completed.
Step-by-step guide
Create a
csvfile format with first row being the header and columns will be as follows:course_id: course key of the course
user: Username of the learner
mode: Desired enrollment mode
Goto https://courses-internal.edx.org/admin/student/bulkchangeenrollmentconfiguration/ (you might also need to get access to this table first):
Click
Add bulk change enrollment configurationbutton at the top right corner.Upload the above created
csvfile, mark theEnabledcheck and save.
Goto https://tools-edx-jenkins.edx.org/job/course_runs/job/prod-edx-bulk_change_enrollment_csv/ (you might also need to get access to this table first):
Click on
Build with parameterslink in left menu.Now click the
Buildbutton and wait for job to completion.Verify that all enrollments are updated according to the
csvfile.
Create a
txtfile (one order number per line) with the order numbers stuck in fulfillment error state for which we have just updated the enrollments.Goto https://prod-edx-ecommerce-internal.edx.org/admin/order/markordersstatuscompleteconfig/ (one can access this with student support role or order manager role in ecommerce):
Click
Add Mark Orders Status Complete configbutton at the top right corner.Upload the above created
txtfile with order number here, mark theEnabledcheck and save.
Goto https://tools-edx-jenkins.edx.org/job/Ecommerce/job/prod-edx-mark_orders_status_complete/ (you might also need to get access to this table first):
Click on
Build with parameterslink in left menu.Now click the
Buildbutton and wait for job to completion.Verify that all orders status marked as completed.
Related articles
Filter by label
There are no items with the selected labels at this time.