Skip to content

[DEPR]: Commerce Coordinator functionality in edx-platform #272

@bmtcril

Description

@bmtcril

Proposal Date

2024-08-06

Target Ticket Acceptance Date

2024-08-20

Earliest Open edX Named Release Without This Functionality

Sumac - 2024-10

Rationale

When originally developed at 2U the Commerce Coordinator was intended to be released as an extension to edx-platform to ease the transition away from the ecommerce project and create pluggable, flexible integrations paths for commerce systems into the platform.

Progress was made toward a path where CC had some integration points in edx-platform, however the current state is that it will remain a 2U tool and won't be adopted into Open edX. As such we would like to remove the explicit CC integration points in favor of making it a plugin that uses standard extension points like hooks and filters.

Ideally this is a first step toward removing the commerce djangoapp, which has been marked in the code for deprecation for about 5 years now.

Removal

This DEPR is for edx-platform removal. There may be CC related code in other systems that are being deprecated separately such as ecommerce.

  • The should_redirect_to_commerce_coordinator… Waffle flags
  • References to Commerce Coordinator in lms/djangoapps/commerce/utils.py (and their tests)
  • CC related settings in the edx-platform settings files

Replacement

Where needed, new hooks and filters will be added to things like unenrollment to allow any plugin to access those events and take action.

Deprecation

No response

Migration

No response

Additional Info

No response

Task List

  • The should_redirect_to_commerce_coordinator… Waffle flags
  • References to Commerce Coordinator in lms/djangoapps/commerce/utils.py (and their tests)
  • CC related settings in the edx-platform settings files

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