Skip to content

Add admin refresh/toggle for Sede subscription plans#277

Merged
guillermodoghel merged 1 commit into
mainfrom
dev
May 23, 2026
Merged

Add admin refresh/toggle for Sede subscription plans#277
guillermodoghel merged 1 commit into
mainfrom
dev

Conversation

@guillermodoghel
Copy link
Copy Markdown
Collaborator

Summary

  • add a new admin page at /admin/sede/subscriptions/ to refresh MercadoPago subscription plans and persist plan id/name via upsert
  • add enable/disable toggles per plan so staff can decide which plans are considered for matching
  • update sync and match audit flows to filter subscriptions by enabled plans (with fallback to current settings when no DB toggles are enabled)

Test plan

  • python manage.py check
  • python manage.py migrate
  • Open /admin/sede/subscriptions/, run Refresh subscriptions, toggle one plan on/off
  • Run python manage.py sync_sede_members and confirm it only processes enabled plans

Made with Cursor

Introduce a refreshable La Sede plan catalog with enable/disable toggles in admin, and constrain sync/audit matching to enabled plans when configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
@guillermodoghel guillermodoghel merged commit 72ae527 into main May 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant