iZettle / sdk-ios

Add card payments from Zettle to your own app
https://developer.zettle.com/docs/ios-sdk
Other
82 stars 38 forks source link

Payment process issues #142

Closed asa47 closed 7 years ago

asa47 commented 7 years ago

Hello,

We are having some issues with the payment process. Sometimes it works fine, but most of the times it fails with the following message: "An error as occurred, Card reader link time out".

It used to work in our app without any issues but today we received a few complains from our customers. We also thought that we had a faulty card reader but it works on the ios iZettle app. Could you please advice us?

The following are some screenshots of the payment process:

asa47 commented 7 years ago

Hello,

We run a few test, and we have probably found the problem; we have recently included in our app the MultipeerConnectivity framework in order to communicate with nearby devices.

As for now if we do not create any multipeer connection the iZettle SDK works correctly; however as soon as we instantiate a multipeer connection, we have issues with the iZettle SDK. Is it possible that the multipeer connection is interfering with the iZettle SDK?

saidsikira commented 7 years ago

Hi @asa47,

Yes, very possibly. As far as I understand MultipeerConnectivity makes use of bluetooth stack in iOS. Since the reader operates via Bluetooth, some functionality in the MultipeerConnectivity framework could interfere with it and invalidate some communication which would fail the transaction.

asa47 commented 7 years ago

Hello @arikis,

Thanks for the reply, and yes we thought the same. As for now we disable any multipeer connection if our customer want to process payment through iZettle.

Do you think it is something that can be fixed on your side? Or do you have any advice/routes that we should consider in order to fix the issue?

saidsikira commented 7 years ago

I guess that the best solution would be disabling multipeer connections before processing payment with iZettle. SDK doesn't have any accesss to those connections so it's almost impossible to anything about that from our side.

GamerPixBoy commented 1 year ago

Bro remove this images people are scaming through this hahahahaha