aboutsummaryrefslogtreecommitdiff
path: root/payments/cybersource/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'payments/cybersource/forms.py')
-rw-r--r--payments/cybersource/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/payments/cybersource/forms.py b/payments/cybersource/forms.py
index 3a83672..5fedde0 100644
--- a/payments/cybersource/forms.py
+++ b/payments/cybersource/forms.py
@@ -13,8 +13,8 @@ from ..forms import CreditCardPaymentFormWithName
class FingerprintWidget(forms.HiddenInput):
def render(self, name, value, attrs=None):
- attrs = dict(attrs or {}, type=self.input_type, name=name)
- final_attrs = self.build_attrs(self.attrs, attrs)
+ final_attrs = dict(attrs or {}, type=self.input_type, name=name)
+ final_attrs.update(self.attrs)
final_attrs['session_id'] = value
return render_to_string(
'payments/cybersource_fingerprint.html', final_attrs)