forked from CGM_Public/pretix_original
* [WIP] Fix #599 -- Add API to create orders * Add more validation logic * Add docs and some validation * Fix test on MySQl * Validation is fun, let's do more of it! * Fix live_issues
This commit is contained in:
@@ -545,7 +545,7 @@ class Event(EventMixin, LoggedModel):
|
||||
def has_payment_provider(self):
|
||||
result = False
|
||||
for provider in self.get_payment_providers().values():
|
||||
if provider.is_enabled and provider.identifier != 'free':
|
||||
if provider.is_enabled and provider.identifier not in ('free', 'boxoffice'):
|
||||
result = True
|
||||
break
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user