Projet

Général

Profil

0001-mollie-prevent-override-of-description-attribute-430.patch

Valentin Deniaud, 18 mai 2020 16:27

Télécharger (1,2 ko)

Voir les différences:

Subject: [PATCH] mollie: prevent override of description attribute (#43021)

 eopayment/mollie.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
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
-