sips2: pass user's first and last names in allowed attributes (#12447)
This commit is contained in:
parent
b8e60c72d2
commit
8320be27dd
|
@ -172,7 +172,10 @@ class Payment(PaymentCommon):
|
|||
data['billingContact.email'] = email
|
||||
if 'captureDay' in kwargs:
|
||||
data['captureDay'] == kwargs.get('captureDay')
|
||||
data['customerId'] = unicode(name or ' '.join(filter(None, [first_name, last_name])))
|
||||
if first_name:
|
||||
data['billingContact.firstname'] = first_name
|
||||
if last_name:
|
||||
data['billingContact.lastname'] = last_name
|
||||
normal_return_url = self.normal_return_url
|
||||
if next_url and not normal_return_url:
|
||||
warnings.warn("passing next_url to request() is deprecated, "
|
||||
|
|
Loading…
Reference in New Issue