title: paypal login button not functioning in express checkout
body: <p>I'm writing an angular6 e-commerce application and I'm trying to implement paypal express checkout into it.</p>
  
  <p>I created a sandbox in my business account and created a client access token to be used with it. </p>
  
  <p>I tried using both the the <code>ngx-paypal</code> module from <a href="https://github.com/Enngage/ngx-paypal" rel="nofollow noreferrer">https://github.com/Enngage/ngx-paypal</a></p>
  
  <p>and I also tried to implement it myself using the tutorial at <a href="http://tphangout.com/angular-5-paypal-express-checkout/" rel="nofollow noreferrer">http://tphangout.com/angular-5-paypal-express-checkout/</a></p>
  
  <p>both of them provides the same results.</p>
  
  <p><a href="https://i.stack.imgur.com/SrmoV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SrmoV.png" alt="paypal express checkout popup"></a></p>
  
  <p>the PayPal express checkout popup shows up, but the "Log In to PayPal" button is not functioning. when I click on it nothing happens.</p>
  
  <p>I tried to look into chrome developers console and this is what I see:</p>
  
  <pre><code>Failed to load resource: the server responded with a status of 400 (Bad Request)
  </code></pre>
  
  <p>for the url</p>
  
  <pre><code>https://www.sandbox.paypal.com/webapps/hermes/api/batch/setbuyer
  </code></pre>
  
  <p>any ideas ?</p>
  
  <p>thanks! :)</p>