finish up paypal payments, small improvments and tests