Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bmtcril opened this issue Aug 6, 2024 · 2 comments
Open

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

bmtcril opened this issue Aug 6, 2024 · 2 comments
Assignees
Labels
depr Proposal for deprecation & removal per OEP-21

Comments

@bmtcril
Copy link

bmtcril commented Aug 6, 2024

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
@aht007
Copy link
Member

aht007 commented Oct 18, 2024

Hi again @bmtcril,
So as per the original ask of this ticket we have removed all of the explicit integration points of commerce-coordinator from edx-platform. Code removal was done in pull-35527. We have already added extension points to commerce app in these PRs: PR1, PR2 so anyone who wants to extend the commerce functionality can do so without explicitly adding code into edx-platform codebase. I know that commerce app is itself slated for deprecation down the line but do you want to us announce the code removal and addition of extension points to the broader openedX community somewhere else apart from this issue?

@bmtcril
Copy link
Author

bmtcril commented Oct 18, 2024

I think that if you link to this ticket from the Sumac dev / operator release notes with a quick summary of the work that was done and a note that the edx-platform commerce app is still slated for deprecation that should be enough. Thanks for getting this work over the line!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depr Proposal for deprecation & removal per OEP-21
Projects
Status: Proposed
Development

No branches or pull requests

3 participants