Subversion Repositories SmartDukaan

Rev

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

Rev 4247 Rev 4258
Line 911... Line 911...
911
            return mark_order_cancellation_request_received(orderId)
911
            return mark_order_cancellation_request_received(orderId)
912
        finally:
912
        finally:
913
            close_session()
913
            close_session()
914
    
914
    
915
 
915
 
916
    def markOrderAsPaymentFlagRemoved(self, orderId):
916
    def markTransactionAsPaymentFlagRemoved(self, transactionId):
917
        """
917
        """
918
        If we and/or payment has decided to accept the order, this method needs to be called.
918
        If we and/or payment gateway has decided to accept the payment, this method needs to be called.
919
        Changed order status and payment status
919
        Changed transaction and all orders status to payment accepted.
920
    
920
    
921
        Parameters:
921
        Parameters:
922
         - orderId
922
         - transactionId
923
        """
923
        """
924
        try:
924
        try:
925
            return mark_order_as_payment_flag_removed(orderId)
925
            return mark_order_as_payment_flag_removed(transactionId)
926
        finally:
926
        finally:
927
            close_session()
927
            close_session()
928
 
928
 
929
    def markOrderCancellationRequestDenied(self, orderId):
929
    def markOrderCancellationRequestDenied(self, orderId):
930
        """
930
        """