summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-11-29 18:45:02 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-11-29 18:45:22 (GMT)
commit6ebbb5aa9d7420adc14ef13900b30e02c238f758 (patch)
tree944bcdfec5f9c59679576ef1cb5ac7046c2fdb9b
parentcc20d93cc9c0597adc8e9fdf03272a14daf5855c (diff)
downloadeopayment-6ebbb5aa9d7420adc14ef13900b30e02c238f758.zip
eopayment-6ebbb5aa9d7420adc14ef13900b30e02c238f758.tar.gz
eopayment-6ebbb5aa9d7420adc14ef13900b30e02c238f758.tar.bz2
sips2: add new payment_means option (ex: VISA,MASTERCARD) (#14160)v1.19
-rw-r--r--eopayment/sips2.py7
1 files changed, 7 insertions, 0 deletions
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):