PayPal beats profit targets, flags spending pull forward amid economic uncertainty