#NEWLINE# def confirm_free_order( request , key = 'FREE' , template = None ) : #NEWLINE# #INDENT# controller = ConfirmController ( request , None ) #NEWLINE# freeproc = FreeProcessor ( key ) #NEWLINE# freemod = FreeProcessorModule ( key ) #NEWLINE# controller . paymentModule = freeproc #NEWLINE# controller . processor = freemod #NEWLINE# if template : #NEWLINE# #INDENT# controller . templates [ 'CONFIRM' ] = template #NEWLINE# #UNINDENT# controller . confirm ( force_post = True ) #NEWLINE# return controller . response