openedx / openedx/openedx-wordpress-ecommerce
["FEAT"] Pass the order to a completed when enroll is successful
@amirnafees88 is already working on this.
Since Aug 6, 2025.
- Dominant language
- PHP
- Stars
- 23
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.