Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove prints
Maciej Korycinskid4284e58c13c
diff --git a/saleor/payment/gateways/adyen/tests/test_plugin.py b/saleor/payment/gateways/adyen/tests/test_plugin.pyindex 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_pluginassert response.kind == TransactionKind.AUTHassert response.amount == action_transaction.amountassert response.currency == action_transaction.currency- print(payment_adyen_for_order.transactions.all())assert payment_adyen_for_order.transactions.count() == 3diff --git a/saleor/payment/gateways/adyen/webhooks.py b/saleor/payment/gateways/adyen/webhooks.pyindex 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: GatewayCdiscounts=discounts,user=checkout.user or AnonymousUser(),)- except ValidationError as e:- print(e)+ except ValidationError:payment_refund_or_void(payment)return