diff --git a/payment/gateways/netaxept/actions.py b/payment/gateways/netaxept/actions.py index 21958a5..a55b381 100644 --- a/payment/gateways/netaxept/actions.py +++ b/payment/gateways/netaxept/actions.py @@ -10,18 +10,18 @@ class NetaxeptException(Exception): - def __str__(self): - return repr(self.msg) + pass class PaymentAlreadyRegisteredAndAuthorized(NetaxeptException): - msg = 'Payment already registered and authorized' + def __str__(self): + return 'Payment already registered and authorized' def register_payment(payment: Payment) -> str: """ This part of the process is unique to netaxept so it cannot be implemented inside the - payment generic SPI. This implies that a programmer that wants to use the netaxept gateway will have to know + payment generic SPI. This implies that a programmer who wants to use the netaxept gateway will have to know to call this specific function. This function: diff --git a/setup.py b/setup.py index ec2f5ca..ca25a22 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='django-payment', - version='1.4', + version='1.5', description='', long_description='', author='Nicholas Wolff',