iZettle / sdk-ios

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

The reader stops displaying the payment value after payment accepted. #277

Closed maciejtrybilo closed 3 years ago

maciejtrybilo commented 4 years ago

Expected Behavior

  1. Payment is requested
  2. The SDK displays a sheet with with the payment value.
  3. The reader displays the transaction value awaiting the card.

Current Behavior

From one day to another after everything working fine our client reports the following:

  1. Payment is requested
  2. The SDK displays a sheet with with the payment value.
  3. The reader keeps displaying "Hello" or "Connected to iPad..."

The expected behaviour continues on the iZettle app however, just not on our app.

Steps to Reproduce

Cannot reproduce. A one-off situation.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

N/A

valkovsky commented 4 years ago

Hello @maciejtrybilo,

Thank you for reporting the issue. The behaviour is strange and not something that we see. We need more info to figure out what could be the problem:

Also we've made great improvements related to iZettle Reader One connectivity in our latest SDK: 2.5. You could try to update the SDK and see if the problem still occurs

maciejtrybilo commented 4 years ago

Thank you for quick response!

The issue seems to be with this particular iPad. We have since managed to connect and process transactions through two different iPhones running our app without any issues to the same reader.

We will get hold of the problematic iPad soon and will be able to dump the logs if that would be helpful. I could also then test with v2.5.

valkovsky commented 4 years ago

Thanks for the info! We're going to investigate the problem.

We will get hold of the problematic iPad soon and will be able to dump the logs if that would be helpful. I could also then test with v2.5.

It would be really helpful. The more information the better :)

The iZettle Go app is installed as it needs to be in order to connect with the One

It would be interesting to know if there is some kind of interference that is caused by GoApp launched at the same time. It may keep connection to the reader for some time. I may assume to try to kill the GoApp from task manager after it is used to pair a reader.

ssikira commented 4 years ago

Hey @maciejtrybilo, are you still experiencing the same issue?

maciejtrybilo commented 4 years ago

It's fine now. I guess it was some bluetooth issue caused by the customer playing music from the iPad at the same time. Thank you!