From 6e96d123ba775dafd99aa6f507093303f54f9ddc Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 18 May 2020 16:26:23 +0200 Subject: [PATCH] mollie: prevent override of description attribute (#43021) --- eopayment/mollie.py | 4 ++-- 1 file 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)