Subversion Repositories SmartDukaan

Rev

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

Rev 4211 Rev 4321
Line 450... Line 450...
450
        """
450
        """
451
        try:
451
        try:
452
            return commit_cart(cartId, sessionSource, sessionTime, firstSource, firstSourceTime)
452
            return commit_cart(cartId, sessionSource, sessionTime, firstSource, firstSourceTime)
453
        finally:
453
        finally:
454
            CartDataAccessors.close_session()
454
            CartDataAccessors.close_session()
-
 
455
            UserDataAccessors.close_session()
455
 
456
 
456
    def validateCart(self, cartId, sourceId):
457
    def validateCart(self, cartId, sourceId):
457
        """
458
        """
458
        Validates that:
459
        Validates that:
459
        1. The checkout timestamp is greater than the updatedOn timestamp.
460
        1. The checkout timestamp is greater than the updatedOn timestamp.