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

Veranderingen in 4.0.0 versie. #369

Closed
henkkelder opened this issue Jun 12, 2024 · 2 comments
Closed

Veranderingen in 4.0.0 versie. #369

henkkelder opened this issue Jun 12, 2024 · 2 comments

Comments

@henkkelder
Copy link

Vandaag heb ik mijn .NET 4.81 applicatie geupdate naar de laastste versie (4.0.0).

ZIe https://jos.opwekking.nl/doneer.aspx. Deze gebruikt nog de 3.x versie.

Bij de 4.0.0. versie kan ik niet vinden hoe ik de lijst van iDeal issuers ophaal.

Ik kan wel dit gebruiken:

using IPaymentMethodClient _paymentMethodClient = new PaymentMethodClient("{yourApiKey}");
PaymentMethodResponse paymentMethodResponse = await paymentMethodClient.GetPaymentMethodAsync(PaymentMethod.Ideal);

maar dan blijft de lijst van issuers null.

Bestaat de functionaliteit voor het ophalen van de bankenlijst nog of kan dat niet meer?

@Viincenttt
Copy link
Owner

Hi Henk,

I have not made any changes to the payment method client between version 3.6.0 and version 4.0.0. However, to resolve your issue I think you need to set the includeIssuers parameter to true when calling the GetPaymentMethodAsync method. For example:

using IPaymentMethodClient _paymentMethodClient = new PaymentMethodClient("{yourApiKey}");
PaymentMethodResponse paymentMethodResponse = await paymentMethodClient.GetPaymentMethodAsync(PaymentMethod.Ideal, includeIssuers: true);

Let me know if this helps :)

Kind regards,
Vincent

@henkkelder
Copy link
Author

Dat was het inderdaad. Dank je :-)

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