ajab-gajab / kids-library

0 stars 0 forks source link

Accept payments at the time of order placement #27

Open Sumit1311 opened 7 years ago

Sumit1311 commented 7 years ago

Issue by Sumit1311 Sun Aug 6 03:28:51 2017 Originally opened as https://github.com/Sumit1311/kids-library/issues/26


Tasks :

  1. Add columns release_date to nav_orders, is_order to nav_payments
  2. Add column deposit at nav_toys
  3. Remove deposit from plans, Remove recharge page for now. Not all functionality
  4. At the time of registration details no recharge page
  5. Calculate the required transactions at the time of placing order
  6. Add status for order PENDING_PAYMENT. Add release_date at the time of order placement.
  7. 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
  8. If payment at the time of order is successful do the usual activities along with updating the status to PLACED
  9. If payment failed add status as CANCELLED
  10. 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
  11. Background should also pick up the transactions marked for refund and raise a refund request and along with that track it.
  12. Cancellation and Placement of order will clear release_date to null.
Sumit1311 commented 7 years ago

Comment by Sumit1311 Mon Aug 21 04:30:51 2017


Done