I am developing a game that needs a transaction management system.
Once player finish a task, he or she would gain some amount of credits (virtual money).
When Player_A buys some virtual things from Player_B, some amount of credits would be reduced from Player_A's account. Simultaneously, the same amount of credits would be added to Player_B.
Is there a standard method I can use, or open system to manage this kind of thing?.