Skip to content

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

Add more friendly info when setting dummy payment to partially refund

Unknowndae2299873b8
diff --git a/saleor/payment/gateways/dummy/forms.py b/saleor/payment/gateways/dummy/forms.py
index 9ed72713d9..e7ba45c6ee 100644
--- a/saleor/payment/gateways/dummy/forms.py
+++ b/saleor/payment/gateways/dummy/forms.py
@@ -18,7 +18,8 @@ class DummyPaymentForm(forms.Form):
if charge_status == ChargeStatus.PARTIALLY_REFUNDED:
raise forms.ValidationError(
_('Setting charge status to partially refunded directly '
- 'is not supported.'), code='invalid_charge_status')
+ 'is not supported. Please use the dashboard to '
+ 'refund partially.'), code='invalid_charge_status')
return cleaned_data