#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( PaymentForm , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# if self . provider . org_id : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# fingerprint_id = self . payment . attrs . fingerprint_session_id #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# fingerprint_id = str ( uuid4 ( ) ) #NEWLINE# #UNINDENT# self . fields [ 'fingerprint' ] = FingerprintInput ( label = _ ( 'fingerprint' ) , org_id = self . provider . org_id , initial = fingerprint_id , merchant_id = self . provider . merchant_id , fingerprint_url = self . provider . fingerprint_url )