Site Sections: Satchmo Main | Wiki | Demo Store |

Changeset 1587

Show
Ignore:
Timestamp:
10/03/08 23:29:05 (2 months ago)
Author:
chris
Message:

Fix a logging bu in Authorize.net and update some comment strings.
Closes #606

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • satchmo/trunk/satchmo/payment/modules/authorizenet/processor.py

    r1574 r1587  
    88 
    99class PaymentProcessor(object): 
    10     #Authorize.NET payment processing module 
    11     #You must have an account with authorize.net in order to use this module 
     10    """ 
     11    Authorize.NET payment processing module 
     12    You must have an account with authorize.net in order to use this module 
     13    """ 
    1214    def __init__(self, settings): 
    1315        self.settings = settings 
     
    8587            all_results = f.read() 
    8688        except urllib2.URLError, ue: 
    87             log.error("error opening %s\n%s", self.url, ue) 
     89            log.error("error opening %s\n%s", self.connection, ue) 
    8890            return (False, 'ERROR', 'Could not talk to Authorize.net gateway') 
    8991             
     
    104106 
    105107if __name__ == "__main__": 
    106     ##### 
    107     # This is for testing - enabling you to run from the command line and make 
    108     # sure everything is ok 
    109     ##### 
    110  
     108    """ 
     109    This is for testing - enabling you to run from the command line and make 
     110    sure everything is ok 
     111    """ 
    111112    import os 
    112113    from satchmo.configuration import config_get_group