Replace the deprecated Open edX E-Commerce service

A guide to moving paid enrollments off the archived Open edX E-Commerce service to WooCommerce or the Webhook Receiver, with the work, risks and effort drivers spelled out.

On this page

Replacing the Open edX E-Commerce service for paid enrollments

If your site sells paid course seats through the Open edX E-Commerce (Oscar) service, you need a replacement before that service stops serving your business. The Tutor e-commerce plugin is marked deprecated because the underlying e-commerce repositories have been archived, so the work is moving paid enrollments onto a commerce system you can maintain. The two options the Open edX documentation lists are WooCommerce, a free plugin for WordPress, and the Webhook Receiver, which supports WooCommerce and Shopify. Choose between them before anything else, because the choice decides where orders, payment records and refund actions live.

The replacement covers five areas: order flow from checkout to enrollment, coupons, seat types, refund handling, and the mapping from commerce outcomes to Open edX enrollment modes. Each one needs a written rule. Confirm with your team which seat types exist today, how each maps to an enrollment mode such as audit or verified in your current setup, and which coupons are still active with remaining redemptions. Count your historical orders and refunds, because a site with a long refund history has more reconciliation work than one with few orders. Effort depends mainly on order volume, refund history and the number of commerce rules you run, and a quote should itemize each of these.

Ask any partner for a written inventory of your current commerce data, a test plan that places a paid order, a coupon redemption and a refund against a staging instance, and a cutover plan for orders in flight. Confirm the current state of the plugin and its replacement options with the Tutor e-commerce plugin repository and the Open edX documentation on commerce solutions before you commit to a design. Payment processing, card data and any PCI DSS scope depend on the payment provider you connect, so confirm that scope with your provider and your assessor.

What maps cleanly to WooCommerce or the Webhook Receiver and what does not

This table compares the capabilities of the archived Open edX E-Commerce (Oscar) service with WooCommerce and the Webhook Receiver, row by row. Read each row to see whether the item moves with configuration, needs a data export, or must be rebuilt by hand, and note where the answer depends on which option you choose.

CapabilityPlatform equivalentMigration notes
Products per course seatWooCommerce product per course mode, or a Webhook Receiver product mapped to the course runMap each paid seat to one product. Confirm how the chosen option passes the course run identifier back to the LMS.
Prices and currenciesWooCommerce product prices and store currency; Webhook Receiver prices set in the upstream storeCheck that every currency in use is supported by the store. Multi-currency pricing depends on the store setup, so confirm it before cutover.
Coupon codesWooCommerce coupons; Webhook Receiver coupons exist only if the upstream store supports themActive codes need to be recreated with the same limits and expiry dates. Expired or partly used codes usually need a manual decision.
Enrollment mode mappingEach order line maps to a verified, audit or other mode using a product-to-mode tableBuild this table first and test it on a staging LMS. A wrong mapping can enroll learners in the wrong mode after payment.
Order historyOrders stay in the old database unless exported; the new store holds only orders placed after cutoverHistorical orders usually need an export to a read-only archive. Ask the implementation partner what format the archive will use.
RefundsRefunds are issued in WooCommerce or the upstream store, then the LMS enrollment is revoked by a separate stepRefund handling is custom work in most cases. Confirm who revokes access and how the refund event reaches the LMS.
Invoices and tax documentsWooCommerce invoice plugins or the upstream store's invoicing; not part of the core Open edX serviceInvoice numbering and tax settings must match your finance rules. Confirm the numbering sequence before the first live order.
Custom checkout logicUsually not portable; must be rebuilt in WordPress plugins or the upstream storeManual rebuild. Custom checkout steps tied to the old service need a new design and testing.
Historical revenue reportsNot provided by the new store; rebuilt from exported order dataManual rebuild. Plan the report queries against the archive before retiring the old service.

Documented options and the integration paths they offer

The Open edX docs list two commerce paths that can take over paid enrollments once the archived E-Commerce service is removed. Each path has different integration work, so the choice depends on the storefront you already run and the order and refund data you need to keep.

Free WooCommerce plugin for WordPress

The docs list a free WooCommerce plugin for WordPress as a commerce option. It makes a WordPress site the storefront, so the catalog, checkout, tax and order records live in WooCommerce rather than in the LMS. Confirm which plugin version works with your Open edX release and your WordPress and WooCommerce versions before you commit, since compatibility is the first gate. Map each course seat to a WooCommerce product, and decide early how coupons and refunds flow back to enrollment.

Commerce options docs

Webhook Receiver for WooCommerce

The Webhook Receiver supports WooCommerce and Shopify and passes purchase events from an external store to the platform. Your storefront stays the system of record for payment, while the LMS receives the events that trigger enrollment. The integration work sits in the webhook contract: signing and verification of requests, retry behavior, and idempotent handling so a repeated event does not enroll a learner twice. Confirm the current release and the event fields it sends before you design the mapping.

Commerce options docs

Order and seat mapping

Both paths require a table that links each commerce product to a course run and an enrollment mode, such as audit or verified. Decide whether one product maps to one course run or to a course with several runs, and how a re-run is handled when an old order still points to the previous run. Record the mapping as configuration you can review, because a wrong mapping enrolls learners in the wrong run or mode. Ask your team to test each seat type with a sample order before launch.

Coupons and refund handling

Coupons and refunds were handled inside the E-Commerce service, so both paths need an explicit replacement. Coupons usually live in the storefront, so the enrollment step must accept the discounted price without relying on the old coupon model. Refunds need a rule for revoking or keeping enrollment, and a record of who approved the refund and when. Document the refund steps for your support team, and check how your payment processor reports partial refunds back to the storefront.

Deprecation context and what it means

The Tutor e-commerce plugin is deprecated because the underlying e-commerce repositories have been archived. Archived code receives no fixes, so a platform running it carries a growing risk with each Open edX release. Read the tutor-ecommerce README to confirm the status and any notes it gives on replacement, then list every site that depends on the plugin. This sets the deadline for the migration and shows which order history must be exported before the old service is turned off.

tutor-ecommerce README

Confirm before you commit

Plugin versions, webhook fields and WooCommerce compatibility change over time, so treat any version you read in this page as a starting point. Ask the plugin maintainers or your Open edX support channel which versions support your named release, and test a full purchase, coupon and refund path in a staging environment. Put the results in a written scope so the choice between the two paths is backed by a working test rather than by the documentation alone.

Choosing between WooCommerce and the Webhook Receiver

This path fits an organization that already runs WordPress for its public website and wants the catalog, checkout pages and order screens managed by marketing or finance staff. The Open edX docs list the free WooCommerce plugin for WordPress as a commerce option, so the storefront, its product pages and its order records live in WordPress, while the LMS keeps enrollment and access. The WordPress site becomes a second system you must patch, back up and secure alongside Open edX.

  • Operations: Your team owns the WordPress host, the WooCommerce plugin, its extensions and the payment gateways attached to them. Open edX operators own only the link that grants enrollment after payment.
  • Refunds and invoices: Refunds are issued from WooCommerce, and invoice numbering and receipts are generated there. Enrollment revocation in the LMS has to be triggered by someone or something, so define that step in writing.
  • Seat and coupon setup: Products, variations and discount codes are maintained by non-engineers, which speeds up campaigns but raises the risk of mismatched seat types unless the mapping is documented.
  • Plugin governance: Every WooCommerce extension adds update and security work. Limit the list to what finance and marketing actually need.
  • Hosting boundary: The WordPress site often sits in a different network zone from the LMS, so check how the purchase signal reaches Open edX and what credentials it uses.

Before choosing this path, confirm who files sales tax or VAT, which accounting system receives order exports, and who answers customer payment disputes.

How the enrollment cutover runs with a parallel period

This sequence moves paid enrollments from the archived E-Commerce service to the new path in controlled stages, so each product, mode and order is accounted for before the old service is retired.

  1. Inventory products, seat types, coupons and open orders

    The platform owner and finance lead export the current course modes, seat prices, coupon codes, bulk enrollments and any orders still awaiting payment or refund from the E-Commerce service. Each item is recorded with its course run, price, currency, validity dates and owner. The inventory is complete when every paid course run on the LMS appears in the list and finance has signed off the totals against the existing order history.

  2. Map enrollment modes to commerce products

    The team maps each enrollment mode and seat type to a product in the chosen path, either a WooCommerce product or a Webhook Receiver flow, and defines how a completed payment triggers enrollment in the correct mode. Coupons are mapped to their equivalent discount rules, and unsupported cases such as bundles or custom pricing are listed for a decision. The mapping is done when a written table shows each source mode, its target product and the enrollment result for a test purchase.

  3. Build and test in a non-production environment

    DeployOpen or the internal team builds the storefront, payment connection, webhook handling and enrollment callback in a non-production copy of the platform, using test payment credentials. Test cases cover successful purchase, failed payment, partial refund, coupon redemption, duplicate webhook delivery and an expired coupon. The step closes when every test case has a recorded result and the failures found have been fixed and retested.

  4. Run a parallel period without customer exposure

    Both paths run side by side on the production platform while the new path is shown only to internal test accounts or staff, and the archived service stays the only path customers can use. The team monitors webhook delivery, enrollment results, payment status and reconciliation totals for the new path against the live orders. The parallel period ends when the two sets of records match for the agreed test volume and the open issues are closed.

  5. Cut over new purchases to the new path

    Once the parallel run is accepted, the public purchase links, course pages and coupon entry points are switched to the new path, and the old checkout is disabled for new orders. The change is announced to course teams and support staff with the new refund and enrollment steps. The cutover is confirmed when a live test purchase in each mode completes and appears in both the commerce records and the LMS enrollments.

  6. Handle in-flight orders and refunds

    Orders started on the old service but not completed, and payments awaiting a refund, are listed and assigned an owner. Each one is either completed on the old path, refunded there, or moved to the new path with a documented exception, and learners are told what to expect. The step is finished when no open order lacks a recorded outcome and every refund request has a status.

  7. Reconcile and decommission the archived service

    Finance and the platform team compare the final order exports, payment records, refunds and enrollment counts from the old and new paths for the full period. Any differences are explained and corrected before the archived service is shut down. The retained data is stored under the organization's retention policy, and the decommissioning record lists what was removed, where backups sit and who approved the closure.

How a purchase reaches an Open edX enrollment after the change

The flow starts at learner checkout in WooCommerce or in the store behind the Webhook Receiver, then passes the payment to the payment provider. Once the order is paid, the commerce system sends a webhook call across the trust boundary into the LMS, which creates the enrollment record and triggers the confirmation email. Refunds run on a separate branch and must reverse the enrollment, so check that branch as carefully as the purchase path. Confirm the exact webhook and enrollment behavior with your chosen plugin before you build against it.

Purchase and refund paths across the commerce system and the LMS.

What drives the cost and duration of the replacement

This table lists the main drivers of cost and schedule when replacing the archived Open edX E-Commerce service, with whether each driver is paid once or recurs and what to request in a written quote. Read it as a checklist to size the scope before comparing partner proposals. The largest effort usually comes from mapping old orders, coupons and enrollment modes, not from the storefront itself.

DriverWhy it changes cost or effortOne-time or recurringWhat to ask for in a written quote
Course products and seat typesEach paid course, run and seat type needs a product or matching offer in the new store, and each one must map to an enrollment mode.One-time build, with recurring work when new runs openCount of course runs and seat types in scope, and the mapping table for each
Coupon rules and historyActive codes, usage limits, course restrictions and expired codes each need a decision: rebuild, retire or carry over.One-time migration, then recurring coupon administrationNumber of active coupons, the rule types used, and how expired codes will be handled
Open orders and order agePending, partially paid and old orders need reconciliation before cutover, and older records often use data shapes that need conversion.One-time, scaled to the number of open ordersCount of open orders by status and age, and the reconciliation rules the partner will apply
Refund and invoice requirementsRefunds must reach the original payment and enrollment state, and invoices must match your legal and tax format.Recurring once live, with one-time setup of refund pathsRefund scenarios supported, invoice template requirements, and who approves refund exceptions
Enrollment mode mappingEach legacy mode that affects certificates, audits or access must map to a current mode without changing what learners can see.One-time analysis and testingList of modes in use, the expected result for each, and sign-off owner
Tax and accounting integrationsTax rules, ledger exports and payment processor connections add build and testing work, and each external system needs its own credentials and monitoring.One-time integration, recurring maintenance and tax rule updatesNamed systems to connect, export formats, and who maintains tax configuration after launch
Testing per payment pathEach payment method, refund path, coupon type and failure case needs a documented test with evidence before go-live.One-time for launch, recurring for regression tests on updatesTest matrix by payment path, test environment requirements, and acceptance criteria

What usually goes wrong in a commerce replacement and how to prevent it

Moving paid enrollments off the archived E-Commerce service fails in a few predictable places, mostly where the commerce system and the LMS disagree about what a purchase grants. The cards below cover access, order integrity, coupons, refunds and records, each with a check to run before learners or finance depend on the new flow.

Enrollment mode mismatches

A seat type mapped to the wrong enrollment mode can grant verified certificates to learners who paid for audit access, or the reverse. Build a written mapping table from each seat type in the new commerce system to the LMS enrollment mode it should trigger, then test every paid path with a test learner. Check that the mode shown in the LMS instructor view matches the purchase record for each sample order.

Commerce options docs

Lost or duplicated orders

During a parallel run, the old and new systems can both accept a purchase, or a webhook can fail after payment and never enroll the learner. Pick one system of record for enrollment writes at each stage and log every webhook delivery with its order identifier. Reconcile payment provider transactions against LMS enrollments daily until the cutover is closed.

Coupons that behave differently

Coupon rules such as usage limits, expiry dates, course scope and stacking may not carry over one to one into WooCommerce or the Webhook Receiver setup. Export every active code from the archived service and record its rule in a test matrix. Apply each code to a sample cart in the new system and confirm the discount, scope and redemption count match the original.

Refunds without revoked enrollment

A refund issued in the payment system does not remove course access unless someone or something revokes the enrollment in the LMS. Define the refund workflow so that the refund event triggers enrollment deactivation, and decide who approves exceptions for learners who already started the course. Test a full refund and a partial refund on a test course, then confirm the learner can no longer open graded content.

Missing historical records

Migrating only active enrollments leaves finance and auditors without order history, refund records and coupon usage for past sales. Before decommissioning the old service, export orders, line items, payments, refunds and coupon redemptions to a format finance can read. Keep the archived database or the export under access controls for the retention period your finance and audit teams specify.

Questions buyers ask before replacing the E-Commerce service

What drives the cost of replacing the Open edX E-Commerce service?

The cost depends on how many commerce paths you run, how much order history must move, and how much custom checkout logic you rely on. The main components are the discovery work to map seat types and enrollment modes, the build of the chosen option (WooCommerce or the Webhook Receiver), the data mapping and reconciliation work, and testing of refunds and coupons. Some work is one-time, such as the cutover, while hosting, plugin maintenance and payment fees recur. Ask any quote to itemize discovery, build, migration, testing and post-launch support separately, and to state which payment provider integrations are included.

How long does replacing the E-Commerce service usually take?

Duration depends mainly on the number of seat types, the number of active paid courses, the volume of historical orders you need to keep queryable, and how many payment or accounting systems sit downstream. Teams with a small catalog and a simple refund policy usually finish faster than those with bundled programs and multi-currency pricing. No fixed timeline is safe to assume before the written scope exists. Ask the provider to break the timeline into discovery, build, parallel run and cutover, and to name the dependencies, such as payment provider approvals or Tutor upgrades that must happen first.

What must our team provide before the work starts?

Your team needs to supply a complete list of paid courses, seat types and prices, the coupon rules in use, your refund and cancellation policy, and the names of the finance and support contacts who own reconciliation. You also need admin access to the Open edX instance and the chosen storefront, a decision on the payment provider, and a test payment account. Engineers should identify the current enrollment mode values and any custom code that reads order data. Missing any of these items usually pushes discovery into a later phase, so confirm the list in writing before signing.

Can our team replace the E-Commerce service without outside help?

Yes, a capable in-house team with Django and Tutor experience can do the work, provided it has time to read the current configuration, test refunds and reconcile payments. The difficult parts are rarely the storefront itself. They are the enrollment mode mapping, the handling of orders placed before cutover, and the audit trail that finance expects. Teams without recent commerce integration experience often underestimate those areas. Consider an outside partner for discovery, reconciliation testing or a security review of the payment flow, while keeping ownership of the business rules in-house.

What happens to existing orders and refunds during the switch?

Existing orders stay in the archived service's records unless they are exported and mapped, so a cutover plan must state which orders remain queryable, where refunds for past purchases are processed, and who answers customer disputes after go-live. Most teams run both systems for a period, so refunds for old orders go through the original process while new purchases use the new storefront. Ask the provider how order IDs, enrollment records and refund events will be linked, and what reconciliation report will prove that every paid enrollment has a matching order.

Can we keep running the archived E-Commerce service?

You can keep running it on your own infrastructure, since the code is open source, but you should expect no upstream fixes. The Tutor e-commerce plugin is deprecated because the underlying e-commerce repositories have been archived, so security patches, dependency updates and compatibility fixes for new Open edX releases will not come from the upstream project. Running it means your team owns that maintenance, which increases exposure over time. Treat continued use as a short bridge, not a long-term plan, and confirm the current status with the vendor before deciding.

What should we confirm with the vendor before choosing WooCommerce or the Webhook Receiver?

Confirm the options that fit your requirements in writing. For WooCommerce, ask whether the free WordPress plugin supports the seat types, coupons and refund flows you need, and which payment gateways it can use. For the Webhook Receiver, confirm which commerce platforms it supports, since the Open edX docs list WooCommerce and Shopify, and how it signs and retries enrollment events. Also ask which Open edX release and Tutor version each option has been tested against, and who will own updates to the plugin. Use the official Adding ECommerce to Open edX page as the starting reference for those checks.

What your team needs to provide and what DeployOpen delivers

Your team sets the commercial rules before any code moves, so the engagement starts with inputs. You need administrator access to the Tutor environment that runs the LMS and Studio, including the project root and the settings that load the commerce configuration, such as the ECOMMERCE_PUBLIC_URL_ROOT and ECOMMERCE_API_ROOT values if your current instance uses them. You also need named accounts with your payment provider (and, for WooCommerce, a WordPress administrator login with the plugin installation rights), a finance owner who can state how refunds, tax, invoices and revenue recognition should work, and a complete list of paid products, course seat types, price points and coupons, including any coupons still in use with active codes. Confirm with your finance team which open orders and refund requests exist at cutover, because those cases need a written rule rather than a technical default.

Engagements are fixed-scope. The scope, deliverables and timeline are agreed in writing before work starts, and the written scope is the basis for any quote. Typical written outputs include an enrollment mode mapping document that lists each current seat type and its replacement product or enrollment mode, an order and coupon data model, a refund procedure, test evidence from staging runs that cover purchase, coupon redemption, refund and enrollment checks, and a cutover runbook with a rollback path and named owners for each step. Ask for these outputs by name when you compare proposals, and confirm whether retesting after fixes and post-cutover support are included or sold as a separate retainer. Ongoing support, upgrades and continuous testing are available as retainers, so the recurring cost is separate from the one-time migration work.

How DeployOpen works on this

DeployOpen scopes the move off the archived Open edX E-Commerce (Oscar) service as a fixed-scope piece of work agreed in writing before build starts. We map existing paid enrollments, coupons and seat types to WooCommerce or the Webhook Receiver, build and test the commerce path in infrastructure you control, and hand over documented runbooks your team can operate.

How we scope

  • Inventory every paid course, seat type, coupon and enrollment mode currently sold through the deprecated Oscar service
  • Confirm whether WooCommerce or the Webhook Receiver fits your payment, tax and reporting requirements before design starts
  • Write the scope, deliverables and timeline into a written agreement that covers orders, refunds and reconciliation

How we build

  • Map each seat type and enrollment mode to a commerce product and confirm the enrollment result in a staging LMS
  • Configure coupon rules and refund handling, then test failed payments, partial refunds and duplicate order events
  • Deploy the commerce components in your own cloud, data center or air-gapped network, with secrets kept under your control

How we hand over

  • Deliver written configuration records, mapping tables and test evidence for your finance, compliance and LMS teams
  • Walk through order reconciliation and refund procedures with the operators who will run the system day to day
  • Document the decommissioning steps for the archived E-Commerce service so no legacy commerce path stays open

How we support

  • Offer ongoing support, upgrades and continuous testing for the commerce stack as a retainer after handover
  • Retest the payment and enrollment flow after each platform release or plugin update before it reaches learners
  • Ask any provider for a written quote tied to the agreed scope, including what recurs after handover and what does not

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.