mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
BasePaymentProvider: skip country check if ia.country == '' (Z#23143749) (#3859)
This commit is contained in:
@@ -849,7 +849,7 @@ class BasePaymentProvider:
|
||||
except InvoiceAddress.DoesNotExist:
|
||||
pass
|
||||
else:
|
||||
if str(ia.country) not in restricted_countries:
|
||||
if str(ia.country) != '' and str(ia.country) not in restricted_countries:
|
||||
return False
|
||||
|
||||
if order.sales_channel not in self.settings.get('_restrict_to_sales_channels', as_type=list, default=['web']):
|
||||
|
||||
Reference in New Issue
Block a user