-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Is your feature request related to a problem? Please describe.
When you create an Open edX course as a product in WooCommerce, following the documentation, and then you place an order and pay, the order changes from pending payment to processing. When this occurs, the creation of an enrollment request is triggered. The idea is to create a flow that, when an enrollment request is created and the enrollment is successful, triggers a change in the status of the order from processing to completed. To have another clear view of the enrollments that were made successful and those that may need intervention.
Describe the solution you'd like
If the enrollment request has been successfully created the enrollment, change the order to a completed state.
Note: we need to take into account that in an order, we can have several courses, and also we can have products that are not open edx courses.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.