sdk-android icon indicating copy to clipboard operation
sdk-android copied to clipboard

Unclear documentation regarding ZettleResult class

Open Bart-Westenenk opened this issue 2 years ago • 2 comments

Problem

I expected better documentation regarding the possible failure reasons and cancellation reasons at Processing card payment results. Currently it is unclear if ZettleResult.failed could also mean that the balance of the customer is too low (example), or that it only includes errors like "not logged in" or "reader not connected".

Bart-Westenenk avatar Sep 07 '24 15:09 Bart-Westenenk

The documentation is reflecting the reasons we support at the moment, there are no plans to support this feature in the near future.

mfareed-gh avatar Sep 10 '24 09:09 mfareed-gh

This is not a feature, this is a request to update documentation. Currently it is not clear from the documentation in what scenarios the SDK returns a Failed response and in what scenarios it returns a Cancelled response.

Bart-Westenenk avatar Sep 10 '24 12:09 Bart-Westenenk