#NEWLINE# def handle_successful_order( self , order ) : #NEWLINE# #INDENT# '\n        Handle the various steps required after an order has been successfully\n        placed.\n\n        Override this view if you want to perform custom actions when an\n        order is submitted.\n        ' #NEWLINE# self . send_confirmation_message ( order , self . communication_type_code ) #NEWLINE# self . checkout_session . flush ( ) #NEWLINE# self . request . session [ 'checkout_order_id' ] = order . id #NEWLINE# response = HttpResponseRedirect ( self . get_success_url ( ) ) #NEWLINE# self . send_signal ( self . request , response , order ) #NEWLINE# return response