From a4b56cfb9297c55d05f837122c25d43a48b56ac6 Mon Sep 17 00:00:00 2001 From: Shafqat Farhan Date: Mon, 16 Dec 2024 14:15:26 +0500 Subject: [PATCH] feat: removed unused fuction --- .../apps/commercetools/catalog_info/edx_utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/commerce_coordinator/apps/commercetools/catalog_info/edx_utils.py b/commerce_coordinator/apps/commercetools/catalog_info/edx_utils.py index 3c76f414..ed7a5edc 100644 --- a/commerce_coordinator/apps/commercetools/catalog_info/edx_utils.py +++ b/commerce_coordinator/apps/commercetools/catalog_info/edx_utils.py @@ -75,11 +75,6 @@ def get_edx_successful_payment_info(order: CTOrder): return None, None -def get_edx_payment_service_provider(order: CTOrder) -> Union[str, None]: - for pr in order.payment_info.payments: - return pr.obj.payment_method_info.payment_interface - - def get_edx_order_workflow_state_key(order: CTOrder) -> Optional[str]: order_workflow_state = None if order.state and order.state.obj: # it should never be that we have one and not the other. # pragma no cover