Files
edx-platform/lms/djangoapps/shoppingcart/processors/exceptions.py
Awais dfb366afb9 ECOM-662 Raise exception in case of DECLINE response.
Adding decline button in fake payment page.
In of case ERROR, CANCEL, and DECLINE removing auth_amount from test cybersource2 and payment fake.
2015-01-06 18:21:25 +05:00

27 lines
478 B
Python

from shoppingcart.exceptions import PaymentException
class CCProcessorException(PaymentException):
pass
class CCProcessorSignatureException(CCProcessorException):
pass
class CCProcessorDataException(CCProcessorException):
pass
class CCProcessorWrongAmountException(CCProcessorException):
pass
class CCProcessorUserCancelled(CCProcessorException):
pass
class CCProcessorUserDeclined(CCProcessorException):
"""Transaction declined."""
pass