Subversion Repositories SmartDukaan

Rev

Rev 2241 | Rev 2246 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2241 Rev 2245
Line 29... Line 29...
29
 
29
 
30
    print items
30
    print items
31
    
31
    
32
    try:
32
    try:
33
        userServiceClient.get_client().resetCart(transaction.shopping_cart_id, items);
33
        userServiceClient.get_client().resetCart(transaction.shopping_cart_id, items);
34
    except ShoppingCartException:
34
    except ShoppingCartException, TException:
35
        print "Error while resetting the cart in the cart database"
35
        print "Error while resetting the cart in the cart database"
36
        print sys.exc_info()
36
        print sys.exc_info()
37
    except TException:
-
 
38
        print "Error while updating information in payment database."
-
 
39
        print sys.exc_info()
-
 
40
    except:
37
    except:
41
        print "Unexpected exception"
38
        print "Unexpected exception"
42
        print sys.exc_info()
39
        print sys.exc_info()
43
 
40
 
44
def track_coupon_usage(transaction, userServiceClient):
41
def track_coupon_usage(transaction, userServiceClient):