0001-mollie-prevent-override-of-description-attribute-430.patch
eopayment/mollie.py | ||
---|---|---|
56 | 56 |
'validation': lambda x: x.startswith('test_') or x.startswith('live_'), |
57 | 57 |
}, |
58 | 58 |
{ |
59 |
'name': 'description', |
|
59 |
'name': 'description_text',
|
|
60 | 60 |
'caption': _('General description that will be displayed for all payments'), |
61 | 61 |
'required': True, |
62 | 62 |
}, |
... | ... | |
76 | 76 |
'redirectUrl': self.normal_return_url, |
77 | 77 |
'webhookUrl': self.automatic_return_url, |
78 | 78 |
'metadata': metadata, |
79 |
'description': self.description, |
|
79 |
'description': self.description_text,
|
|
80 | 80 |
} |
81 | 81 | |
82 | 82 |
resp = self.call_endpoint('POST', 'payments', data=body) |
83 |
- |