julkascript / cardflow

The open-source Trading Card Game market
MIT License
10 stars 4 forks source link

Order Rules #123

Closed julkascript closed 5 days ago

julkascript commented 3 weeks ago

Summary: There are two use cases that need to be covered:

  1. After 30 days, stale orders with status “sent” should become “completed”. That is because some users may be too lazy to mark the package as completed, so we will do that for them.
  2. After 30 days, stale orders with status “ordered” should become “not sent”. This is for use cases where sellers do not send their packages.

Sellers would be incentivized to mark their orders as “sent” because this way they will be able to get rating and feedback.

Technical requirements:

  1. Create a Django command that performs the order analysis and update.
  2. Create a cronjob on the deployment env, which through docker exec fires the command.