Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Do not use message atttribute when capturing error
akjanik88d4a9f8a533
diff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.pyindex 13400933b8..2335813f4a 100644--- a/saleor/dashboard/order/forms.py+++ b/saleor/dashboard/order/forms.py@@ -72,7 +72,7 @@ class ManagePaymentForm(forms.Form):try:action(amount.gross)except (PaymentError, ValueError) as e:- self.payment_error(e.message)+ self.payment_error(str(e))return Falsereturn True