misc: add empty_response flag (#61241)
This commit is contained in:
parent
0608e27dfe
commit
ae14959c2a
|
@ -266,6 +266,10 @@ class Payment:
|
|||
def has_free_transaction_id(self):
|
||||
return self.backend.has_free_transaction_id
|
||||
|
||||
@property
|
||||
def has_empty_response(self):
|
||||
return self.backend.has_free_transaction_id
|
||||
|
||||
def payment_status(self, transaction_id, **kwargs):
|
||||
if not self.backend.payment_status:
|
||||
raise NotImplementedError('payment_status is not implemented on this backend')
|
||||
|
|
|
@ -150,6 +150,7 @@ class PaymentResponse:
|
|||
|
||||
class PaymentCommon:
|
||||
has_free_transaction_id = False
|
||||
has_empty_response = False
|
||||
|
||||
PATH = '/tmp'
|
||||
BANK_ID = '__bank_id'
|
||||
|
|
Loading…
Reference in New Issue