Subversion Repositories SmartDukaan

Rev

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

Rev 14337 Rev 14338
Line 14... Line 14...
14
import hashlib
14
import hashlib
15
import importlib
15
import importlib
16
import json
16
import json
17
import mechanize
17
import mechanize
18
import re
18
import re
-
 
19
import traceback
19
import urllib
20
import urllib
20
 
21
 
21
USERNAME='saholic1@gmail.com'
22
USERNAME='saholic1@gmail.com'
22
PASSWORD='spice@2020'
23
PASSWORD='spice@2020'
23
ORDER_TRACK_URL='https://m.flipkart.com/order_details'
24
ORDER_TRACK_URL='https://m.flipkart.com/order_details'
Line 295... Line 296...
295
            else:
296
            else:
296
                resp['result'] = 'ORDER_ALREADY_CREATED_IGNORED'
297
                resp['result'] = 'ORDER_ALREADY_CREATED_IGNORED'
297
                
298
                
298
            return resp 
299
            return resp 
299
        except:
300
        except:
-
 
301
            traceback.print_exc()
300
            resp['result'] = 'ORDER_NOT_CREATED'
302
            resp['result'] = 'ORDER_NOT_CREATED'
301
            return resp 
303
            return resp 
302
            
304
            
303
    
305
    
304
    def flipkartOrderTracking(self, orderId, subTagId, userId, rawHtml, orderSuccessUrl):
306
    def flipkartOrderTracking(self, orderId, subTagId, userId, rawHtml, orderSuccessUrl):