| Line 105... |
Line 105... |
| 105 |
get_fa_order_by_fk_order_id, get_all_fa_orders_list, add_update_fa_orders_bulk, \
|
105 |
get_fa_order_by_fk_order_id, get_all_fa_orders_list, add_update_fa_orders_bulk, \
|
| 106 |
flipkart_fa_order_exists, get_recharge_order_status, \
|
106 |
flipkart_fa_order_exists, get_recharge_order_status, \
|
| 107 |
get_recharge_transaction_status, accept_package_orders, \
|
107 |
get_recharge_transaction_status, accept_package_orders, \
|
| 108 |
get_group_orders_by_logistics_txn_id, add_billing_details_for_groupped_orders, \
|
108 |
get_group_orders_by_logistics_txn_id, add_billing_details_for_groupped_orders, \
|
| 109 |
get_invoice_format_logistics_txn_id, homeshop_order_exists, \
|
109 |
get_invoice_format_logistics_txn_id, homeshop_order_exists, \
|
| 110 |
create_homeshop_order, get_homeshop_order, split_bulk_order, move_orders_to_correct_warehouse
|
110 |
create_homeshop_order, get_homeshop_order, split_bulk_order, move_orders_to_correct_warehouse, \
|
| - |
|
111 |
verify_orders_for_transaction
|
| 111 |
from shop2020.model.v1.order.impl.DataService import DtrBatchCreditTracker
|
112 |
from shop2020.model.v1.order.impl.DataService import DtrBatchCreditTracker
|
| 112 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
113 |
from shop2020.model.v1.order.impl.model.DTHRechargeOrder import DTHRechargeOrder
|
| 113 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
114 |
from shop2020.model.v1.order.impl.model.DigitalTransaction import \
|
| 114 |
DigitalTransaction
|
115 |
DigitalTransaction
|
| 115 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
116 |
from shop2020.model.v1.order.impl.model.MobileRechargeOrder import \
|
| Line 2642... |
Line 2643... |
| 2642 |
except:
|
2643 |
except:
|
| 2643 |
return "Error"
|
2644 |
return "Error"
|
| 2644 |
finally:
|
2645 |
finally:
|
| 2645 |
close_session()
|
2646 |
close_session()
|
| 2646 |
|
2647 |
|
| - |
|
2648 |
def verifyOrderForTransaction(self, transactionId):
|
| - |
|
2649 |
try:
|
| - |
|
2650 |
return verify_orders_for_transaction(transactionId)
|
| - |
|
2651 |
finally:
|
| - |
|
2652 |
close_session()
|
| - |
|
2653 |
|
| 2647 |
|
2654 |
|
| 2648 |
def main():
|
2655 |
def main():
|
| 2649 |
OrderServiceHandler().creditBatch(2, '{"483649":100.0, "8021773":23, "123213":10}')
|
2656 |
OrderServiceHandler().creditBatch(2, '{"483649":100.0, "8021773":23, "123213":10}')
|
| 2650 |
|
2657 |
|
| 2651 |
if __name__ == '__main__':
|
2658 |
if __name__ == '__main__':
|