Intermediate screen during payment flow #775
Unanswered
messenger63
asked this question in
Q&A
Replies: 1 comment
-
Hi @messenger63, thanks for your question! Although, your solution might work, it seems fragile to me. Storing a reference to an IMO the best solution is to use standalone components. This way you are fully in control over the Hope this helps! Feel free to ask more questions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Adyen,
I need to show an intermediate screen with some legal info after the user selects a payment method (with specific content, based on payment method type).
Is there any suggestion on how to do it correctly?
So a possible solution is in onPaymentsCallRequested send an event to activity, which launches drop-in and start InfoActivity from there. Also I could track activities from Application.registerActivityLifecycleCallbacks and store reference on DropInActivity context, and show InfoDialog in it.
However, DropInService is calling onDestroy while the user confirms InfoActivity, still it works ok when I call sendResult() after that.
Is it ok to do so? Do you have any other suggestions on how to do it in a right way?
Beta Was this translation helpful? Give feedback.
All reactions