fix type problems in Transactions
make paypal redirect URLs optional
move json test data to own files