def auto_bill_enabled(self): if not hasattr(settings, 'USA_EPAY_KEY'): return None api = PaymentAPI() return api.auto_bill_enabled(self.user.username)
def auto_bill_enabled(self): api = PaymentAPI() return api.auto_bill_enabled(self.user.username)
def auto_bill_enabled(self): if not hasattr(settings, 'USA_EPAY_SOAP_KEY'): return None api = PaymentAPI() return api.auto_bill_enabled(self.user.username)