-
Jean-Paul Calderone authored
This makes the database responsible for remembering how many tokens we expect to get for a voucher, rather than the in-memory Python state or the code. As a result, we can resume redemption knowing the correct number of tokens after a process restart and without relying on the PaymentController's default token count to have remained unchanged.
Jean-Paul Calderone authoredThis makes the database responsible for remembering how many tokens we expect to get for a voucher, rather than the in-memory Python state or the code. As a result, we can resume redemption knowing the correct number of tokens after a process restart and without relying on the PaymentController's default token count to have remained unchanged.