| Line 18... |
Line 18... |
| 18 |
ORDER_SUCCESS_URL = 'https://www.amazon.in/gp/buy/spc/handlers/static-submit-decoupled.html'
|
18 |
ORDER_SUCCESS_URL = 'https://www.amazon.in/gp/buy/spc/handlers/static-submit-decoupled.html'
|
| 19 |
THANKYOU_URL = 'https://www.amazon.in/gp/buy/thankyou/handlers/display.html'
|
19 |
THANKYOU_URL = 'https://www.amazon.in/gp/buy/thankyou/handlers/display.html'
|
| 20 |
class Store(MStore):
|
20 |
class Store(MStore):
|
| 21 |
|
21 |
|
| 22 |
orderStatusRegexMap = { MStore.ORDER_PLACED : ['ordered from', 'not yet dispatched','dispatching now', 'preparing for dispatch'],
|
22 |
orderStatusRegexMap = { MStore.ORDER_PLACED : ['ordered from', 'not yet dispatched','dispatching now', 'preparing for dispatch'],
|
| 23 |
MStore.ORDER_SHIPPED : ['dispatched on','dispatched', 'on the way', 'out for delivery'],
|
23 |
MStore.ORDER_SHIPPED : ['dispatched on','dispatched', 'on the way', 'out for delivery', 'Out for delivery'],
|
| 24 |
MStore.ORDER_CANCELLED : ['return complete', 'refunded', 'cancelled'],
|
24 |
MStore.ORDER_CANCELLED : ['return complete', 'refunded', 'cancelled'],
|
| 25 |
MStore.ORDER_DELIVERED : ['delivered']
|
25 |
MStore.ORDER_DELIVERED : ['delivered']
|
| 26 |
}
|
26 |
}
|
| 27 |
|
27 |
|
| 28 |
def __init__(self,store_id):
|
28 |
def __init__(self,store_id):
|