sips2: add new payment_means option (ex: VISA,MASTERCARD) (#14160)
This commit is contained in:
parent
cc20d93cc9
commit
6ebbb5aa9d
|
@ -130,6 +130,11 @@ class Payment(PaymentCommon):
|
||||||
'caption': _('Capture Day'),
|
'caption': _('Capture Day'),
|
||||||
'required': False,
|
'required': False,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'name': 'payment_means',
|
||||||
|
'caption': _('Payment Means'),
|
||||||
|
'required': False
|
||||||
|
}
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -155,6 +160,8 @@ class Payment(PaymentCommon):
|
||||||
data['captureMode'] = self.capture_mode
|
data['captureMode'] = self.capture_mode
|
||||||
if self.capture_day:
|
if self.capture_day:
|
||||||
data['captureDay'] = self.capture_day
|
data['captureDay'] = self.capture_day
|
||||||
|
if self.payment_means:
|
||||||
|
data['paymentMeanBrandList'] = self.payment_means
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def get_url(self):
|
def get_url(self):
|
||||||
|
|
Loading…
Reference in New Issue