This should be implemented after #2 , since then most of the requirements will be clear.
The issue with this is, that for example the paypal payments will produce two outgoing transaction, as paypal is just acting as a middle man for the bank account. However, the data paypal exposes to the bank is very minimal. Therefore a connection needs to be made between the two payments, ignoring at least one of them, to prevent a double spending. At the same time we need to take account for received paypal payments and refunds.
This should be implemented after #2 , since then most of the requirements will be clear.
The issue with this is, that for example the paypal payments will produce two outgoing transaction, as paypal is just acting as a middle man for the bank account. However, the data paypal exposes to the bank is very minimal. Therefore a connection needs to be made between the two payments, ignoring at least one of them, to prevent a double spending. At the same time we need to take account for received paypal payments and refunds.