Fixes: 1) Correct gateway status handling logic in `payments/signals.py`. Extra: 1) Remove redundant condition checks in `payments/signals.py`.
12 lines
258 B
Python
12 lines
258 B
Python
class UnknownGatewayError(Exception):
|
|
pass
|
|
|
|
|
|
class AbstractGateway:
|
|
@staticmethod
|
|
def process_transaction(transaction):
|
|
raise NotImplementedError
|
|
|
|
@staticmethod
|
|
def process_callback(transaction):
|
|
raise NotImplementedError
|