PayPal api fixes