cleanup abort_pending_allowed methods

This commit is contained in:
Lukas Bockstaller
2026-08-13 12:09:07 +02:00
parent e78a35a9f0
commit d85a2c877e
3 changed files with 17 additions and 20 deletions
+1 -5
View File
@@ -540,11 +540,7 @@ class PaypalMethod(BasePaymentProvider):
'XPF': 0,
}))
@property
def abort_pending_allowed(self):
return True
def abort_pending_payment_allowed(self, payment) -> bool:
def payment_abort_pending_allowed(self, payment) -> bool:
if not self.settings.get('allow_retries_during_compliance_hold', as_type=bool, default=True):
return False