Problems with transactions and credits