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

Connect card reader via Bluetooth #330

Closed maulikpat closed 4 years ago

maulikpat commented 4 years ago

Hi,

I am using PayPalHereSDKv2 for iOS. In Connect card reader screen app is not able to find my card reader via Bluetooth.

image

It only detects the reader once I connect it to Bluetooth from the Settings app. The card reader is PayPal 277 image

Is there any way to detect the reader directly via SDK and connect with it?

ppmtscory commented 4 years ago

That particular reader is not BLE enabled so it has to be paired in the bluetooth settings on the tablet/phone prior to being connected or found in the SDK. The Chip & Tap reader and the Chip & Swipe reader are BLE enabled and so they are connected directly in the SDK instead of prior connection in the bluetooth settings of the device. Those card readers can be found here.

maulikpat commented 4 years ago

@ppmtscory I am not able to connect this reader with my iPad. I only can connect with my iPhone. in iPhone I already did forgot this device. Any help?

image

image

maulikpat commented 4 years ago

@ppmtscory is PPH iOS SDK supports new iPad OS (iOS 13)?

ppmtscory commented 4 years ago

Have you added com.paypal.here.reader to your supported external accessories for your iPad build?

maulikpat commented 4 years ago

@ppmtscory ok it was not. After adding its working fine. But is it mentioned in any developer guide? I didn't notice this.

ppmtscory commented 4 years ago

It's mentioned in the Going Live section where you're also told that if you submit your App to the Apple Store, and are using the Chip Card Reader, that you need to have that as the external accessory protocol and also fill out the MFi enrollment form.

maulikpat commented 4 years ago

@ppmtscory thanks for the info. Ok, I didn't go with that section as my app won't go to Apple stores.