diff --git a/eopayment/__init__.py b/eopayment/__init__.py index 8116ee4..099bc35 100644 --- a/eopayment/__init__.py +++ b/eopayment/__init__.py @@ -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') diff --git a/eopayment/common.py b/eopayment/common.py index cd0299b..e82959f 100644 --- a/eopayment/common.py +++ b/eopayment/common.py @@ -150,6 +150,7 @@ class PaymentResponse: class PaymentCommon: has_free_transaction_id = False + has_empty_response = False PATH = '/tmp' BANK_ID = '__bank_id'