Use the Sample Apps

To become familiar with the SDK, review our platform-specific sample apps:

  • iOS
  • Android
  • Web

To get started with the sample apps:

  1. Have a sandbox or production PayPal account with PayPal Here enabled.
  2. Have your EMV reader already paired, via bluetooth, to your device.

Note: Step 2 is only required if you use the Chip Card Reader. The Chip and Tap and Chip and Swipe readers can connect without pairing them to your device beforehand. Also note that for the Web SDK, you simply need to have your pre-configured Chip Card Reader plugged in via USB.

Work with the sample apps

iOS

  1. Download the sample app from GitHub.
  2. Load the app into Xcode and run it.
  3. Select the environment and follow the steps to initialize the SDK and merchant.
  4. Log in with your PayPal account that was enabled for PayPal Here and give permissions to the sample app to process on your behalf.
  5. Follow the steps in the sample app to connect a card reader. If this is the first time you are connecting to a Bluetooth card reader, follow the prompts to update the reader.
  6. After the reader connects, complete the steps to take a payment.
  7. When the transaction is processed, you can see the transaction in your PayPal account.
  8. When it completes processing, you see an option to refund your test transaction.

Android

  1. Download the sample app from our GitHub.
  2. Load the app into Android Studio and run it.
  3. Select the environment and follow the steps to initialize the SDK and merchant.
  4. Log in with your PayPal account that was enabled for PayPal Here and give permissions to the sample app to process on your behalf.
  5. Follow the steps in the sample app to connect a card reader. If this is the first time that you are connecting to a Bluetooth card reader, follow the prompts to update the reader.
  6. After the reader connects, complete the steps to take a payment.
  7. After the transaction is processed, you can see the transaction in your PayPal account.
  8. When it completes processing, you see an option to refund your test transaction.

Web

  1. Reference our sample code.

Next