I am developing app with **PayPal** integration. While code for Paypal, `PayPalConfiguration` CONFIG\_ENVIRONMENT provide different **3** option to set value for `setenvironment(..)`.

These option are as below:

```
    //1
    private static final String CONFIG_ENVIRONMENT = PayPalConfiguration.ENVIRONMENT_NO_NETWORK;
    //2
    private static final String CONFIG_ENVIRONMENT = PayPalConfiguration.ENVIRONMENT_PRODUCTION;
    //3
    private static final String CONFIG_ENVIRONMENT = PayPalConfiguration.ENVIRONMENT_SANDBOX;

```

How different these **3** option while developing and integration paypal in app.

My code where I am configure Paypal.

**Code:**

```
private static final String CONFIG_ENVIRONMENT = PayPalConfiguration.ENVIRONMENT_NO_NETWORK;//here set other option

  //private static final String CONFIG_CLIENT_ID = "My client ID";

private static final int REQUEST_CODE_PAYMENT = 11111;

private static PayPalConfiguration config = new PayPalConfiguration()
        .environment(CONFIG_ENVIRONMENT)
        .clientId(CONFIG_CLIENT_ID)
        // The following are only used in PayPalFuturePaymentActivity.
        .merchantName("Merchant Name here")
        .merchantPrivacyPolicyUri(Uri.parse("https://www.example.com/privacy"))
        .merchantUserAgreementUri(Uri.parse("https://www.example.com/legal"));

```