-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't select payment method #160
Comments
Hi @PeterDolenec , Thanks for reaching out. Are you retaining the |
Thanks for quick reply. You were right. Setting strong retention to Thanks again. |
I'm retaining the DropInComponent instance strongly, but when I click the Payment method Icon or the area |
Hey @yuchuanxing I am not sure that I understand your message correctly. UPD I assume the same issue is addressed in #705 ? |
How to set DropInComponent as strong retention? |
Hi @ronakcc , you need to retain the Mohamed |
Thanks for quick reply |
Hi,
I am using the dropInComponent. After I receive payment methods from server I present the dropInComponent viewController. To here, everything works fine, but when I try to select one of the options nothing happens. I tried to debug the problem and I found out that the function "tableView didSelectRowAt indexPath" in class "ListViewController" is called and it triggers selection handler on selected component. But then in class "PaymentMethodListComponent" where selection handler should trigger delegate's function "didSelect" (in line 46), the delegate is nil, so the function is not triggered. Also the close button is not working. The problem is clearly seen in the attached gif (you can see the press event and that it doesn't open the next screen).
Expected behavior
It should display form for selected credit card.
Screenshots
![Adyen](https://user-images.githubusercontent.com/17315818/80291591-16a06d00-874f-11ea-8e9f-ede397430492.gif)
Smartphone
The text was updated successfully, but these errors were encountered: