Sumit1311 / kids-library

0 stars 1 forks source link

Cancellation of Cash on Delivery transaction should roll back membership expiry as well #15

Closed Sumit1311 closed 7 years ago

Sumit1311 commented 7 years ago

Need to decide about approach. Until then do it manually.

Mark the transaction as cancelled. Check nav_orders. If there exist a entry not with status cancelled. Then do nothing If there exist no such entry update the membership expiry with command - UPDATE nav_user set membership_expiry = enrollment_date + 2592000000 where _id=''

Sumit1311 commented 7 years ago

Not needed right now as membership expiry has been cancelled