Issue #9 resolved

Sub-transactions

Jean-Tiare Le Bigot
created an issue

In some cases, it may be interesting to logically group transactions in a "master transaction".

Use case: A user purchases bundles of stuff with in-game coins.

  • master transactions saves the bundle details, handle payment
  • sub-transactions saves individual items of the bundles

=== Proposed implementation ===

add this to Transaction.init() {{{

!python

self.subtransactions = [] }}}

iterate over the subtransactions engine in main commit, after to main transaction's transactors successfully ran.

save as useall

Comments (3)

  1. Log in to comment