paypal / paypal-here-sdk-ios-distribution

Add credit card (tap, insert, swipe & key-in) capabilities to your iOS app
Other
81 stars 91 forks source link

Introduction

The PayPal Here SDK enables iOS apps to process in-person credit card transactions using an assortment of card readers that are capable of accepting contactless, EMV, and swipe payment methods.

Developers should use the PayPal Here SDK to get world-class payment processing with one simple integration. Some of the main benefits include

Note: From 1 July 2021 AEST, PayPal Here services (including both the credit card reader devices and the PayPal Here App) will no longer be available in Australia. This means you will not be able to accept payments through PayPal Here with the credit card reader device or via the PayPal Here App from that date. We have also ceased the sale of new PayPal Here credit card reader devices. If you are looking for a card payment solution, please see here. If you are an existing PayPal Here customer and have any questions, please click here.

Supporting Materials

Installation

Our recommended installation method is Cocoapods - pod 'PayPalHereSDKv2'

The default installation is the Debug build but you can switch to the Release build of the PayPalHereSDK by using the Release subspec - pod 'PayPalHereSDKv2/Release'

As a side note, please make sure you also add com.paypal.here.reader to the Supported External Accessory Protocols entry of your app's .plist file. If you're processing with the Mobile Card Reader, you'll also need to add a description for Microphone usage within your .plist file.

Housekeeping Items

There are a few noteworthy items that should be called out. These include:

App Review Information

Only the Release build of the PayPal Here SDK is eligible for App Store release. If you submit your app for approval with the Debug build, your app will be rejected. To install the release build with Cocoapods please use: pod 'PayPalHereSDKv2/Release'

When you submit your app, if you are using the Chip Card Reader, you will need to enroll in the Apple MFi program. In order to complete your enrollment, please complete the MFi Enrollment Form and email it to pph-sdk@paypal.com. Please note that this process can take a few days to complete.

Be sure to include the following into your app store review notes:

Keep the app connected to the reader when the app goes to background

Here’s what will make the Bluetooth readers stay connected to a sample/partner app when the app is backgrounded (till the OS decides to kill the app)

Project -> Capabilities -> Background Modes -> ON

Enable/Check

License