Skip to content
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

AdyenDropIn [Violation] 'setTimeout' #24

Closed
flaviomurilo-capitani opened this issue Sep 24, 2020 · 4 comments
Closed

AdyenDropIn [Violation] 'setTimeout' #24

flaviomurilo-capitani opened this issue Sep 24, 2020 · 4 comments

Comments

@flaviomurilo-capitani
Copy link

flaviomurilo-capitani commented Sep 24, 2020

CODE:

image

RESULT:

image

@flaviomurilo-capitani
Copy link
Author

TEXT CODE

AdyenDropInWeb.zip

@pabloai
Copy link
Contributor

pabloai commented Sep 28, 2020

Hi @flaviomurilo-capitani,

It seems you're not passing the whole response from the /paymentMethods endpoint, only the paymentMethods object from that response. Passing the whole response should solve the issue.

Let us know if there's anything else we can help with. Cheers!

@pabloai pabloai closed this as completed Sep 28, 2020
@flaviomurilo-capitani
Copy link
Author

flaviomurilo-capitani commented Sep 28, 2020

I dont manipuling the adyen response from payment methods, it´s get from Adyen Itself.

c# code returning Adyen.Model.Checkout.PaymentMethodsResponse from Nuget Adyen Package

image

image

@pabloai
Copy link
Contributor

pabloai commented Sep 29, 2020

Ah, I see. Thanks for adding more clarity!

I already mentioned this to one of the devs in charge of the Adyen Dotnet API library.

What you can do for now is to use the ToJson method like this:

string paymentMethodsJson = paymentMethodsResponse.ToJson();

And then pass the whole response back to the frontend as a JSON string.

I hope this helps.
Feel free to send more questions or proposals. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants