clean up paypal api inputs