From 6ebbb5aa9d7420adc14ef13900b30e02c238f758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 29 Nov 2016 19:45:02 +0100 Subject: [PATCH] sips2: add new payment_means option (ex: VISA,MASTERCARD) (#14160) --- eopayment/sips2.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eopayment/sips2.py b/eopayment/sips2.py index 91cf200..b3cfe20 100644 --- a/eopayment/sips2.py +++ b/eopayment/sips2.py @@ -130,6 +130,11 @@ class Payment(PaymentCommon): 'caption': _('Capture Day'), 'required': False, }, + { + 'name': 'payment_means', + 'caption': _('Payment Means'), + 'required': False + } ], } @@ -155,6 +160,8 @@ class Payment(PaymentCommon): data['captureMode'] = self.capture_mode if self.capture_day: data['captureDay'] = self.capture_day + if self.payment_means: + data['paymentMeanBrandList'] = self.payment_means return data def get_url(self):