Testing in the Sandbox

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

  1. The software update process for the EMV readers is not available in the Sandbox. You will need to connect to a production environment in order to do any of the software updates on the EMV readers. Once the reader has been updated completely in the production environment, then it will be able to be used in the Sandbox to accept payments.
  2. Only use merchant accounts that are created through the Developer Site.

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. In order to run it:

  1. Load up the sample app
  2. Change the server URL to point to 'sandbox' instead of 'live'

Below are instructions to get started with the sample apps for iOS and Android.

Note: If you are integrating with the Chip Card Reader, pair it via bluetooth to your device prior to running the sample apps.

iOS

The sample app for iOS can be found on our Github. In order 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 prior to clicking Initialize Merchant.
  3. Set up developer 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 you set when creating your Sandbox account.
  5. Since this is using the sample server, we've appended ?returnTokenOnQueryString=true to the URL so it will return the raw values needed to initialize the SdkCredential class instead of returning the default composite token.

Android

The sample app for Android can be found on our Github. In order 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, 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 you set when creating your Sandbox account.
  5. Since this is using the sample server, we've appended ?returnTokenOnQueryString=true to the URL so it will return the raw values needed to initialize the SdkCredential class instead of returning the default composite token.

Next

Feedback