Add braintree prefix to device_data field name
issue11584 review419441003
This commit is contained in:
+2
-2
@@ -111,7 +111,7 @@ class CheckoutMixin:
|
||||
braintree_device_data = fields.Char(
|
||||
"Braintree Device Data", readonly=True,
|
||||
states={
|
||||
'invisible': ~Eval('device_data'),
|
||||
'invisible': ~Eval('braintree_device_data'),
|
||||
})
|
||||
|
||||
@classmethod
|
||||
@@ -149,7 +149,7 @@ class CheckoutMixin:
|
||||
|
||||
def braintree_set_nonce(self, nonce, device_data=None):
|
||||
self.braintree_nonce = nonce
|
||||
self.device_data = device_data
|
||||
self.braintree_device_data = device_data
|
||||
self.save()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user