Wait! . . This may be what I’m looking for. I had resided in the fact that the only way I can add money to one of any of my vendors wallet was manually. The WP ERP doesn’t connect and transfer or import transactions to get the sales data, commission/split, etc, tracking in the right directions. (Ex: 60% to the vendor that owned the inventory, and 40% to Admin.)
So the above code, . . .where would it need to be placed and can this code split the proceeds in any way desired ?