byrokrat / giroapp

Command line app for managing autogiro donations.
GNU General Public License v3.0
4 stars 2 forks source link

Implement a pause command #46

Closed hanneskod closed 5 years ago

hanneskod commented 7 years ago

Stops transactions, but keeps mandate active.

And then we need something like giroapp pause --restart payer-number when payer is ready to start giving again...

Also keep a message describing why pause etc. (Same for revoke..)

hanneskod commented 6 years ago

In alpha 3 there is now a pause command. There is however no parsing of autogiro amendment responses. That means that paused donors will be stuck in the PAUSE_SENT state.

Needs #166 before a solid solution can be written..

hanneskod commented 5 years ago

Restarting currently means setting a MandateApprovedState. This name is however related to the registering process.

  1. A more generic name could be AwaitingTransactionRegistration.
  2. After export this could be changed to TransactionRegistrationSent.
  3. And as payents come in we set TransactionActive.
  4. If a transaction could not be completed we set TransactionFailed.