Skip to content

[DEPR]: Oscar Ecommerce Stack Deprecation #22

@feanil

Description

@feanil

Proposal Date

22 Feb 2022

Ticket Acceptance Date

06 Sep 2024

Technology Removal Date

TBD

First Open edX Named Release Without This Functionality

Teak

Rationale

The ecommerce service is based on Django Oscar, which is dropping support for MySQL. On top of that, the ecommerce system is extremely costly to maintain. A search for maintainers for the whole stack has not succeeded.

Removal

The ecommerce application, repository, and configuration will be removed. Hooks and supporting code in other Open edX systems may be deprecated if they do not support a more general-purpose use case. More details will be included in the specific tasks of this epic.

Repositories that we will archive:

The relevant code in the systems that remain and will be removed as a separate task.

Replacement

A new system is in very early design that will serve as a platform for managing the shopping cart, payment, order history, and financial reporting flows. Where it makes sense some current Ecommerce functionality may be moved to other existing systems such as LMS or Discovery. High level architecture documents for the new system are expected to be available for review in October 2021.

2023 UPDATE: Rather than rebuilding ecommerce as another bespoke Open-edX application, we propose instead that edx-platform provide APIs and extension points so that it can easily integrate with third-party commerce systems. See @MaferMazu 's WooCommerce comment for work that has been done already).

2024 Update: Along with the WooCommerce plugin, there are other ways to integrate the Open edX Platform with commerce systems. eg. https://github.com/hastexo/webhook-receiver

Target Dates

This is a large project with many moving pieces and impacts on several systems and processes. Current thinking is that replacement will take place in several phases and result in final deprecation of ecommerce in early to mid 2023. As scope and timing become more clear this ticket will be updated.

The repositories will be archived on Sept 9th

The code removal from edx-platform and other systems will take a little longer and will be done in future releases and will have their own DEPR announcements.

Additional Context

The current Django Oscar based Ecommerce application has long been a pain point in the Open edX ecosystem, causing issues with performance, compliance, and reporting. It is a large maintenance burden and very difficult to configure and administer. Our desire is to move to a much smaller pluggable framework that will offer transition towards APIs that support third-party solutions that will hopefully offer operators and developers more flexibility and ease deployment and maintenance burdens.

Deprecation

No response

Migration

No response

Additional Info

Original Jira Ticket: https://openedx.atlassian.net/browse/DEPR-169
Tutor Plugin Deprecation Ticket: overhangio/tutor-ecommerce#83
DEPR Announcement: https://discuss.openedx.org/t/oscar-based-ecommerce-stack-deprecation/13760

Metadata

Metadata

Assignees

Labels

deprProposal for deprecation & removal per OEP-21

Type

No type

Projects

Status

Plan Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions