title: Unable to login in paypal through developers username password
body: <p>I made account in Paypal and I have downloaded Paypal sdk. I have  made an application and got the client id from website. Now i'm unable to login in Paypal gateway through developer id after integrating in my app.</p>
  
  <p>Please help me out where i'm going wrong</p>
  
  <p><strong>my code</strong></p>
  
  <pre><code>    try{
      Double amount=Double.parseDouble(amnt.getText().toString());
      if(amount&gt;=62 &amp;&amp; amount!=null &amp;&amp; amount!=0.0){
      amount=amount/62;
      PayPalPayment thingToBuy = new PayPalPayment(new BigDecimal(""+amount), "USD", "Cab Rent");        
      Intent intent = new Intent(this, PaymentActivity.class);
  
      intent.putExtra(PaymentActivity.EXTRA_PAYPAL_ENVIRONMENT, CONFIG_ENVIRONMENT);
      intent.putExtra(PaymentActivity.EXTRA_CLIENT_ID, CONFIG_CLIENT_ID);
      intent.putExtra(PaymentActivity.EXTRA_RECEIVER_EMAIL, CONFIG_RECEIVER_EMAIL);
  
      // It's important to repeat the clientId here so that the SDK has it if Android restarts your 
      // app midway through the payment UI flow.
      intent.putExtra(PaymentActivity.EXTRA_CLIENT_ID, "AXJjcRB6yUtJghGBgdDHmOgkL8a9Jnd0RVARU9XPGqZ_lSstEhDSkh7D9AL2");
      intent.putExtra(PaymentActivity.EXTRA_PAYER_ID, "");//from ui we have to design
      intent.putExtra(PaymentActivity.EXTRA_PAYMENT, thingToBuy);
  
      startActivityForResult(intent, 0);
          }
          else{
              Toast.makeText(getApplicationContext(), " An invalid payment was submitted. 1$ minimum", Toast.LENGTH_LONG).show();
          }}
      catch(Exception e){
          Log.d("Paypal_Activity", ""+e); //BLUE
  
      }
  </code></pre>
  
  <p>on activity result</p>
  
  <pre><code>   @Override
  protected void onActivityResult (int requestCode, int resultCode, Intent data) {
      if (resultCode == Activity.RESULT_OK) {
          PaymentConfirmation confirm = data.getParcelableExtra(PaymentActivity.EXTRA_RESULT_CONFIRMATION);
          if (confirm != null) {
              try {
                  Log.i("paymentExample", confirm.toJSONObject().toString(4));
  
                  // TODO: send 'confirm' to your server for verification.
                  // see https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/
                  // for more details.
  
              } catch (JSONException e) {
                  Log.e("paymentExample", "an extremely unlikely failure occurred: ", e);
              }
          }
      }
      else if (resultCode == Activity.RESULT_CANCELED) {
          Log.i("paymentExample", "The user canceled.");
      }
      else if (resultCode == PaymentActivity.RESULT_PAYMENT_INVALID) {
          Log.i("paymentExample", "An invalid payment was submitted. Please see the docs.");
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/w6aCs.png" alt="enter image description here"></p>