Use the Sample Apps

SDK

Last updated: Aug 15th, 7:32am

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.

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