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

Concerning retrievePaymentInfoForReference method #27

Closed nikkonikko closed 8 years ago

nikkonikko commented 9 years ago

The method "retrievePaymentInfoForReference" never return (never call the completion block), if nobody is logged in. (It works fine, when logged in)

Also an older version had the method "presentLoginFromViewController:" implemented, so we could force the user to login first - and be sure, the user was logged in - before calling any iZettle operations.

Is it possible for you to add the method again or maybe just add a callback to the method 'presentSettingsFromViewController'?

mansbernhardt commented 9 years ago

Thanks for reporting this. This is something we also found out recently, and in our next major release of the SDK "retrievePaymentInfoForReference" has been updated to:

/! Query iZettle for payment information of a payment with a given reference. /

nikkonikko commented 9 years ago

Perfect. Looking forward to the next release.

jensutbult commented 8 years ago

Fixed in 1.2.1.