some default values
save transaction to db