Skip to content

Saleor Core: the high performance, composable, headless commerce API.

clean up code

Maciej Korycinskib7404f69b907
diff --git a/saleor/payment/utils.py b/saleor/payment/utils.py
index 5e46ee9000..739ead79d1 100644
--- a/saleor/payment/utils.py
+++ b/saleor/payment/utils.py
@@ -216,9 +216,6 @@ def gateway_postprocess(transaction, payment):
return
transaction_kind = transaction.kind
- # if transaction.action_required:
- # payment.charge_status = ChargeStatus.ACTION_REQUIRED
- # payment.save(update_fields=["charge_status", ])
if transaction_kind in {
TransactionKind.CAPTURE,