Module Expr Str ImportFrom alias identifier ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str keyword Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad Str NameLoad decorator_list decorator_list
N/A N/A 
Handle a cash-on-delivery payment.
 django.utils.translation ugettext _ payment.modules.base BasePaymentProcessor ProcessorResult PaymentProcessor N/A BasePaymentProcessor N/A N/A COD Payment Processor __init__ N/A N/A self settings N/A N/A N/A N/A N/A N/A super PaymentProcessor self __init__ cod settings N/A capture_payment N/A N/A self testing order amount N/A False None None N/A N/A 
        COD is always successful.
         N/A N/A order N/A N/A order N/A self order N/A N/A amount None N/A N/A amount N/A order balance N/A payment N/A N/A self record_payment order order amount amount transaction_id COD reason_code 0 N/A N/A ProcessorResult N/A self key True N/A _ Success payment N/A N/A