datatrans / android-sdk

Accept payments on your Android apps: Our mobile SDKs support your entire payment and registration process and simplify the integration of any payment method in your mobile apps.
Other
6 stars 0 forks source link

[request for documentation] The integration of library version 3.5.0 #24

Closed andreaMOnline closed 6 months ago

andreaMOnline commented 6 months ago

Hello We would like to upgrade to latest version 3.5.0 and implement the Transaction.subscribe request model. Unfortunately due to lack of documentation in the integration guide we could not complete it to 100%. Specifically it is not clear how to set the properties of the transaction in a static way.

Also there was a breaking change: the Exception TWINTNotInstalledException was removed (without deprecation notice?). Instead we use now ??AppNotInstalledException??.

richiehug commented 6 months ago

Hey @andreaMOnline - we just released 3.5.1. This fixes the breaking change you experienced with TWINTNotInstalledException. This was a mistake.

The Transaction.subscribe model is only meant for static listener notifications. The transaction still needs to be created/configured as before (nonstatic, via constructor & options).