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

Payment Api Method is either an Array or String #316

Closed
borissmidt opened this issue Jan 28, 2024 · 4 comments
Closed

Payment Api Method is either an Array or String #316

borissmidt opened this issue Jan 28, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@borissmidt
Copy link

Is your feature request related to a problem? Please describe.
According to the API it should be possible to set multiple payment methods instead of one.
https://docs.mollie.com/reference/v2/payments-api/create-payment

The reason i would like this is because in belguim kbc, bellfius and bancontact are the most commen. But kbc and belfius are better priced. But other payment methods are not relevant to my usecase.

Describe the solution you'd like
A way to set multiple methods as an array or a workaround to set the method field.

@borissmidt borissmidt added the enhancement New feature or request label Jan 28, 2024
@VictorAvelar
Copy link
Owner

Hi @borissmidt. I'm going to have a look and try to come up with an implementation solution for this use case.

@VictorAvelar
Copy link
Owner

VictorAvelar commented Feb 2, 2024

After further investigation this is not hard to fix, however it would be a breaking change. I can add it to the library and then you would need to either wait for the 4.0 tag or just use @ master as version when pulling your go module. I know this is risky and not ideal but it is the best compromise I can offer. I am expecting to start working in full to release v4 latest by the end of February and ideally earlier.

@borissmidt
Copy link
Author

borissmidt commented Feb 2, 2024 via email

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

No branches or pull requests

2 participants