<s> """<STR_LIT>""" <EOL> from django . utils . translation import ugettext as _ <EOL> from payment . modules . base import BasePaymentProcessor , ProcessorResult <EOL> class PaymentProcessor ( BasePaymentProcessor ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , settings ) : <EOL> super ( PaymentProcessor , self ) . __init__ ( '<STR_LIT>' , settings ) <EOL> def capture_payment ( self , testing = False , order = None , amount = None ) : <EOL> """<STR_LIT>""" <EOL> if not order : <EOL> order = self . order <EOL> if amount is None : <EOL> amount = order . balance <EOL> payment = self . record_payment ( order = order , amount = amount , <EOL> transaction_id = "<STR_LIT>" , reason_code = '<STR_LIT:0>' ) <EOL> return ProcessorResult ( self . key , True , _ ( '<STR_LIT>' ) , payment ) </s>
