From ca66489ac72e283d6bee7f82d43e96cb257d2159 Mon Sep 17 00:00:00 2001 From: Syed Sajjad Hussain Shah Date: Wed, 12 Feb 2025 17:45:01 +0500 Subject: [PATCH] feat: override refund_entitlement --- lms/djangoapps/commerce/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/djangoapps/commerce/utils.py b/lms/djangoapps/commerce/utils.py index 9abcabd4a96..789d45b5ca9 100644 --- a/lms/djangoapps/commerce/utils.py +++ b/lms/djangoapps/commerce/utils.py @@ -153,6 +153,7 @@ def upgrade_url(self, user, course_key): return None +@pluggable_override('OVERRIDE_REFUND_ENTITLEMENT') def refund_entitlement(course_entitlement): """ Attempt a refund of a course entitlement. Verify the User before calling this refund method