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.
Showing
- lms/djangoapps/shoppingcart/processors/CyberSource2.py 14 additions, 0 deletionslms/djangoapps/shoppingcart/processors/CyberSource2.py
- lms/djangoapps/shoppingcart/processors/exceptions.py 5 additions, 0 deletionslms/djangoapps/shoppingcart/processors/exceptions.py
- lms/djangoapps/shoppingcart/processors/tests/test_CyberSource2.py 62 additions, 41 deletions...goapps/shoppingcart/processors/tests/test_CyberSource2.py
- lms/djangoapps/shoppingcart/tests/payment_fake.py 33 additions, 4 deletionslms/djangoapps/shoppingcart/tests/payment_fake.py
- lms/djangoapps/shoppingcart/tests/test_payment_fake.py 11 additions, 0 deletionslms/djangoapps/shoppingcart/tests/test_payment_fake.py
- lms/templates/shoppingcart/test/fake_payment_page.html 20 additions, 7 deletionslms/templates/shoppingcart/test/fake_payment_page.html
Loading
Please register or sign in to comment