{"id":20037818,"url":"https://github.com/openedx/openedx-wordpress-ecommerce","last_synced_at":"2025-10-04T04:15:10.580Z","repository":{"id":175013671,"uuid":"649886864","full_name":"openedx/openedx-wordpress-ecommerce","owner":"openedx","description":"You can sell your Open edX courses with WooCommerce using this free and open-source WordPress plugin.","archived":false,"fork":false,"pushed_at":"2025-08-04T22:54:04.000Z","size":2148,"stargazers_count":19,"open_issues_count":4,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-05T00:34:56.924Z","etag":null,"topics":["openedx","opensource","woocommerce"],"latest_commit_sha":null,"homepage":"https://docs.openedx.org/projects/wordpress-ecommerce-plugin/en/latest/index.html","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openedx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-05T21:25:23.000Z","updated_at":"2025-08-04T22:54:07.000Z","dependencies_parsed_at":"2023-11-07T19:34:27.408Z","dependency_job_id":"2584f425-18df-46ce-8034-9db5b479e29a","html_url":"https://github.com/openedx/openedx-wordpress-ecommerce","commit_stats":null,"previous_names":["edunext/openedx-woocommerce-plugin","edunext/openedx-wordpress-ecommerce"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/openedx/openedx-wordpress-ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fopenedx-wordpress-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fopenedx-wordpress-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fopenedx-wordpress-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fopenedx-wordpress-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openedx","download_url":"https://codeload.github.com/openedx/openedx-wordpress-ecommerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fopenedx-wordpress-ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278263142,"owners_count":25958056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openedx","opensource","woocommerce"],"created_at":"2024-11-13T10:22:43.134Z","updated_at":"2025-10-04T04:15:10.537Z","avatar_url":"https://github.com/openedx.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⭐ Open edX Commerce (WordPress Plugin)\n\nThe \"Open edX Commerce\" package is a free and open-source WordPress plugin that allows you to integrate WooCommerce with your Open edX platform.\n\n**What does this mean?**\nYou can create Open edX courses as products in WooCommerce, and when you perform purchase or refund operations for these products, your Open edX platform will reflect these changes.\n\nHere are some things you can do with this plugin:\n\n- **Create Open edX courses as products:** When you create products using WooCommerce, you can designate them as Open edX courses. If you do, you can assign the course mode and course_id you registered in your Open edX platform.\n\n- **Add settings for the connection with Open edX:** You'll have a new option in your WordPress settings to store authentication-related information for your Open edX platform.\n\n- **Enrollment Manager:** You'll have a table that records all enrollment requests made through purchasing products that are Open edX courses.\n\n- **View the enrollment requests from the orders:** When a person purchases WordPress, a WooCommerce order is generated. If an order includes a product that is an Open edX course, you can easily access the related enrollment request created with this plugin.\n\n- **Create enrollments in Open edX:** When an order containing an Open edX course is processed, it automatically creates an enrollment request.\n    - You can also include the option to apply the \"force\" flag, disregarding the course's enrollment end dates.\n    - Starting from version Quince of Open edX, you can use the option to create enrollment allowed for non-registered users on the platform.\n\n- **Create soft unenrollments from refunds:** The enrollment record is maintained, but the \"is_active\" attribute of the enrollment is false. Deleting an \"enrollment allowed\" is also supported, but only from version Quince.\n\n- **Obtain enrollment information:** This requests the Open edX APIs to retrieve the enrollment status of a user in a course.\n\n**Note**\n\nThis plugin calls the APIs from \u003ca href=\"https://github.com/openedx/edx-platform\" target=\"_blank\"\u003eOpen edX Platform\u003c/a\u003e.\n\nMore information about the API connection can be found in \u003ca href=\"https://docs.openedx.org/projects/wordpress-ecommerce-plugin/en/latest/decisions/0002-api-connection.html\" target=\"_blank\"\u003eDecisions: API connection\u003c/a\u003e.\n\nTo learn more, you can visit the \u003ca href=\"https://openedx.org/terms-of-use/\" target=\"_blank\"\u003eOpen edX Terms of Service\u003c/a\u003e.\n\n# Installation\n\n## Requirements\n\n- PHP 8.0 or greater is recommended\n- Wordpress 6.3.1\n- [WooCommerce plugin.](https://wordpress.org/plugins/woocommerce)\n\n## Automatic installation\n\nTo automatically install Open edX Commerce, log in to your WordPress dashboard. Then, navigate to the Plugins menu and click on \"Add New.\"\n\nIn the search field, type \"Open edX Commerce\" and click \"Search Plugins.\" Once you find the plugin, you can view its details and install it by clicking \"Install Now.\" WordPress will handle the rest of the installation process for you.\n\n## Manual installation\n\n1. Download the ZIP version on [the release page in the GitHub repository](https://github.com/openedx/openedx-wordpress-ecommerce/releases).\n\n\u003cimg src=\"docs/source/_images/zip-from-release.png\" alt=\"Download ZIP from release\"\u003e\n\n2. Log in to your WordPress admin dashboard, navigate to the Plugins menu in the sidebar and click **Add New**.\n\n3. Upload the ZIP version of this project.\n\n4. Activate the plugin.\n\n\u003c!---\nIn the search field, type \"Open edX WooCommerce Plugin,\" then click \"Search Plugins.\" Once you've found us, you can view its details and install it by clicking \"Install Now,\" WordPress will take it from there.\n--\u003e\n\n\n# Getting Started\n\nLet's start installing and configuring the Open edx Commerce plugin to connect your WordPress site with the enrollment APIs from your Open edX platform.\n\n[Link to the Quickstart in the documentation.](https://docs.openedx.org/projects/wordpress-ecommerce-plugin/en/latest/plugin_quickstart.html)\n\n\n# Open edX Compatibility\n\n- Tested from Olive\n\n**NOTE:** Enrollment of users who are not platform users (Create course enrollment allowed) is only supported for versions equal to or after Quince.\n\n# Getting Help\n\nTo report a bug or request a feature, visit [issues](https://github.com/openedx/openedx-wordpress-ecommerce/issues).\n\n\n## Documentation\n\nSee [documentation on Read the Docs](https://docs.openedx.org/projects/wordpress-ecommerce-plugin/en/latest/index.html).\n\n\n# How to Contribute\n\nContributions are very welcome. Please read [How To Contribute](https://openedx.atlassian.net/wiki/spaces/COMM/pages/941457737/How+to+Start+Contributing+Code) for details.\n\nThis project accepts all contributions, bug fixes, security fixes, maintenance work, or new features. However, please discuss your new feature idea with the maintainers before beginning development to maximize the chances of accepting your change. You can start a conversation by creating a new issue on this repo summarizing your idea.\n\n# License\n\nThe code in this repository is licensed under version 2 of the GNU General Public License. Please see the [LICENSE](LICENSE.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenedx%2Fopenedx-wordpress-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenedx%2Fopenedx-wordpress-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenedx%2Fopenedx-wordpress-ecommerce/lists"}