summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Deniaud <vdeniaud@entrouvert.com>2020-05-18 14:26:23 (GMT)
committerValentin Deniaud <vdeniaud@entrouvert.com>2020-05-18 14:26:23 (GMT)
commit6e96d123ba775dafd99aa6f507093303f54f9ddc (patch)
tree208e289090dc6acb86a38895b64f2cc373663e73
parentdaa57ffa2ecbd0a3d19c13756164eb50094d8b19 (diff)
downloadeopayment-6e96d123ba775dafd99aa6f507093303f54f9ddc.zip
eopayment-6e96d123ba775dafd99aa6f507093303f54f9ddc.tar.gz
eopayment-6e96d123ba775dafd99aa6f507093303f54f9ddc.tar.bz2
mollie: prevent override of description attribute (#43021)
-rw-r--r--eopayment/mollie.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/eopayment/mollie.py b/eopayment/mollie.py
index 400fa1e..bf9270e 100644
--- a/eopayment/mollie.py
+++ b/eopayment/mollie.py
@@ -56,7 +56,7 @@ class Payment(PaymentCommon):
'validation': lambda x: x.startswith('test_') or x.startswith('live_'),
},
{
- 'name': 'description',
+ 'name': 'description_text',
'caption': _('General description that will be displayed for all payments'),
'required': True,
},
@@ -76,7 +76,7 @@ class Payment(PaymentCommon):
'redirectUrl': self.normal_return_url,
'webhookUrl': self.automatic_return_url,
'metadata': metadata,
- 'description': self.description,
+ 'description': self.description_text,
}
resp = self.call_endpoint('POST', 'payments', data=body)