Add columns release_date to nav_orders, is_order to nav_payments
Add column deposit at nav_toys
Remove deposit from plans, Remove recharge page for now. Not all functionality
At the time of registration details no recharge page
Calculate the required transactions at the time of placing order
Add status for order PENDING_PAYMENT. Add release_date at the time of order placement.
Calculate the run time stock for both showing on UI and placing order based on the constraint
a. Order is in PENDING_PAYMENT and release_date greater that current time
If payment at the time of order is successful do the usual activities along with updating the status to PLACED
If payment failed add status as CANCELLED
If payment is pending
a. If transaction is successful before release_date do success activities
b. If transaction is successful after release_date Mark transaction for refund
Background should also pick up the transactions marked for refund and raise a refund request and along with that track it.
Cancellation and Placement of order will clear release_date to null.
Issue by Sumit1311 Sun Aug 6 03:28:51 2017 Originally opened as https://github.com/Sumit1311/kids-library/issues/26
Tasks :