Subversion Repositories SmartDukaan

Rev

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

Rev 16230 Rev 16232
Line 41... Line 41...
41
    This is to map order statuses of our system to order statuses of snapdeal.
41
    This is to map order statuses of our system to order statuses of snapdeal.
42
    And our statuses will change accordingly.
42
    And our statuses will change accordingly.
43
    
43
    
44
    '''
44
    '''
45
    OrderStatusMap = {
45
    OrderStatusMap = {
46
                      MStore.ORDER_PLACED : ['payment successful', 'new order - cod confirmation pending', 'processing', 'quality check','on schedule', 'processing - pickup initiated', 'processing - ready to dispatch','processing - procurement delay from merchant','processing - slight procurment delay from merchant',''],
46
                      MStore.ORDER_PLACED : ['payment successful', 'new order - cod confirmation pending', 'processing', 'quality check','on schedule', 'processing - pickup initiated', 'processing - ready to dispatch','processing - procurement delay from merchant','processing - slight procurment delay from merchant'],
47
                      MStore.ORDER_DELIVERED : ['delivered', 'complete'],
47
                      MStore.ORDER_DELIVERED : ['delivered', 'complete'],
48
                      MStore.ORDER_SHIPPED : ['in transit', 'dispatched','shipped','order handed to courier'],
48
                      MStore.ORDER_SHIPPED : ['in transit', 'dispatched','shipped','order handed to courier'],
49
                      MStore.ORDER_CANCELLED : ['payment failed', 'canceled', 'payment declined', 'order on hold - cancellation requested by customer', 'courier returned', 'canceled on customer request', 'canceled by customer','order canceled by customer']
49
                      MStore.ORDER_CANCELLED : ['payment failed', 'canceled', 'payment declined', 'order on hold - cancellation requested by customer', 'courier returned', 'canceled on customer request', 'canceled by customer','order canceled by customer']
50
                      }
50
                      }
51
    OrderStatusConfirmationMap= {
51
    OrderStatusConfirmationMap= {