Adyen / adyen-android

Adyen Android Drop-in and Components
https://docs.adyen.com/checkout/android
MIT License
124 stars 66 forks source link

Add documentation for new Twint component #1707

Open ronaldvanduren opened 1 month ago

ronaldvanduren commented 1 month ago

Is your feature request related to a problem? Please describe. We are trying to integrate the new Twint component, however, there is no documentation. We tried to initialize it the same way as the Card component, which "works". This shows the component always in a "payment already in progress" state. But it's unclear how to initialize the component properly so it opens the Twint app on the device.

Describe the solution you'd like Documentation that describes in-depth how to use the component.

Describe alternatives you've considered We have looked at the documentation of the card component, which helped us somewhat.

araratthehero commented 1 month ago

Hi @ronaldvanduren, thanks for raising this issue.

We are currently working on adding documentation for Twint, but we don't have a release date yet.

In the meantime, I can help you set it up.

Could you please follow these steps:

If you want to change the action handling method for Twint (default value is PREFER_NATIVE), you need to:

Could you please check if this works for you and let me know if you have any questions?

ronaldvanduren commented 1 month ago

Hi @araratthehero, thanks for the swift reply!

I am unable to instantiate the component (but honestly, I also don't know what to expect behaviour-wise from this component). I will wait until the official documentation is released and park this feature for now. (We can still use the web flow until then).

araratthehero commented 1 month ago

Hi @ronaldvanduren,

In the next release, the Twint implementation will be updated and the integration will be simplified. We'll keep you informed about these changes.

If you have any questions in the meantime, please contact us.