mollie: prevent override of description attribute (#43021)
This commit is contained in:
parent
daa57ffa2e
commit
6e96d123ba
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue