For each photo purchase a transaction log is now added to the database