# Test in the sandbox (/archive/paypal-here/sandbox-testing/using-sandbox-accounts)



> **Note:** **Important:** PayPal Here is [deprecated](https://www.paypal.com/us/cshelp/article/paypal-here-deprecation-help299). PayPal doesn't accept new integrations but continues to support existing integrations.

The sandbox environment behaves similarly to the production environment. However, follow these guidelines when testing the PayPal Here SDK in the sandbox environment:

* Only use merchant accounts that are created through the [Developer Dashboard](/dashboard/).
* PayPal does not provide test payment cards. If you need a card number for testing, this process is outlined [here](/archive/paypal-here/sandbox-testing#test-payment-cards).

## PayPal Here SDK and the sandbox [#paypal-here-sdk-and-the-sandbox]

The GitHub repo for the SDK contains a sample app for each available platform. Each sample app will use an instance of our [sample server](https://github.com/paypal/paypal-retail-node). To run it:

1. Load up the sample app.
2. Change the environment to point to `sandbox` instead of `Live`.

Below are instructions to get started with the sample apps for [iOS](#ios), [Android](#android), and [Web](#web).

> **Note:** **Note:** If you are integrating with the [Chip Card Reader](https://www.paypal.com/us/business/pos/payments/card-reader), pair it via bluetooth to your device prior to running the sample apps for iOS and Android. For Web, simply have the pre-configured reader plugged in via USB.

## iOS [#ios]

The sample app for iOS can be found on our [GitHub](https://paypal.github.io/paypal-here-sdk-ios-distribution/). To use it:

1. Load the app into Xcode and run it.
2. Make sure the environment selector at the top is set to sandbox before you click **Initialize Merchant**.
3. [Set up developer permissions](/archive/paypal-here/merchant-onboarding/permissions), which enables you to grant permission to the sample app to process on your behalf.
4. When you are asked to log in, use the email and password you set when you created your [sandbox account](/archive/paypal-here/sandbox-testing/configuring-accounts#create-sandbox-accounts).
5. Because this example uses the sample server, we've appended `?returnTokenOnQueryString=true` to the URL so it returns the raw values to initialize the `SdkCredential` class instead of returning the default composite token.

## Android [#android]

Find the sample app for Android on our [GitHub](https://paypal.github.io/paypal-here-sdk-android-distribution/reference/packages.html). To use it:

1. Load the app into Android Studio and run it.
2. Make sure the environment selector at the top is set to sandbox prior to clicking `Initialize Merchant`.
3. [Set up developer permissions](/archive/paypal-here/merchant-onboarding/permissions), which will allow you to grant permission to the sample app to process on your behalf.
4. When you are asked to log in, use the email and password that you set when you create your [sandbox account](/archive/paypal-here/sandbox-testing/configuring-accounts#create-sandbox-accounts).
5. Because this example uses the sample server, we've appended `?returnTokenOnQueryString=true` to the URL so returns the raw values to initialize the `SdkCredential` class instead of returning the default composite token.

## Web [#web]

The sample code for Web can be found [here](/archive/paypal-here/sdk-dev/web#samples).

## Next [#next]

[Onboard merchants](/archive/paypal-here/merchant-onboarding).
