Why do I get the Invalid Configuration error when using Paypal API?