Skip to content

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

Remove prints

Maciej Korycinskid4284e58c13c
diff --git a/saleor/payment/gateways/adyen/tests/test_plugin.py b/saleor/payment/gateways/adyen/tests/test_plugin.py
index 378130888b..3ac6ebc81b 100644
--- a/saleor/payment/gateways/adyen/tests/test_plugin.py
+++ b/saleor/payment/gateways/adyen/tests/test_plugin.py
@@ -272,7 +272,6 @@ def test_confirm_already_processed_payment(payment_adyen_for_order, adyen_plugin
assert response.kind == TransactionKind.AUTH
assert response.amount == action_transaction.amount
assert response.currency == action_transaction.currency
- print(payment_adyen_for_order.transactions.all())
assert payment_adyen_for_order.transactions.count() == 3
diff --git a/saleor/payment/gateways/adyen/webhooks.py b/saleor/payment/gateways/adyen/webhooks.py
index e4937711ba..84327a108c 100644
--- a/saleor/payment/gateways/adyen/webhooks.py
+++ b/saleor/payment/gateways/adyen/webhooks.py
@@ -169,8 +169,7 @@ def handle_authorization(notification: Dict[str, Any], _gateway_config: GatewayC
discounts=discounts,
user=checkout.user or AnonymousUser(),
)
- except ValidationError as e:
- print(e)
+ except ValidationError:
payment_refund_or_void(payment)
return