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

Error executing API call (422: Unprocessable Entity) when doing billie payments without a company name #840

Closed
harli91 opened this issue Sep 20, 2024 · 13 comments

Comments

@harli91
Copy link

harli91 commented Sep 20, 2024

When doing a billie payment without a company name I get the following errors

Could not create a Mollie payment url due to the following error: [2024-09-20T09:07:34+0000] Error executing API call (422: Unprocessable Entity): A billing organization name is required for this payment method. Documentation: https://docs.mollie.com/reference/v2/orders-api/create-order-payment

@BlackScorp
Copy link
Collaborator

hi @harli91 thats correct, Billie is a B2B Payment method and does not work without company name. See here

https://docs.mollie.com/reference/extra-payment-parameters#billie

@harli91
Copy link
Author

harli91 commented Sep 23, 2024

@BlackScorp shouldn't the payment method be hidden when a company name is not present?

@BlackScorp
Copy link
Collaborator

@harli91 usually for B2B you have a special saleschannel because the Taxes are also calculated differently, so the payment method should be assigend to the B2B saleschannel

@BlackScorp
Copy link
Collaborator

@harli91 in order to support the payment method rule, we hide the payment methods only in special cases.

  1. we hide apple pay if it is not supported by the browser
  2. we hide payment methods based on mollies limits, country and currency but only if you enable the config to hide them (some payment methods are working with a minimum or maximum cart limit or only within different countries and currencies)

you can create a custom rule and add this rule to the payment method to hide billie

@harli91
Copy link
Author

harli91 commented Sep 25, 2024

@BlackScorp from what I can see in the documentation these parameters are "recommended" not required so why is the payment failing ?

@BlackScorp
Copy link
Collaborator

@harli91 it is recommend to have those values but the organisation Name in the billing address is required to have for billie

@BlackScorp
Copy link
Collaborator

@harli91 we are going to hide the payment method based on account type in the next release

@harli91
Copy link
Author

harli91 commented Sep 27, 2024

@BlackScorp sweet, thanks :)

@harli91
Copy link
Author

harli91 commented Sep 30, 2024

@BlackScorp I see you did a release 3 days ago, was the fix included? can't find it in the release notes

@BlackScorp
Copy link
Collaborator

@harli91 no, those were just hotfixes to fix ciritical issues

@harli91
Copy link
Author

harli91 commented Sep 30, 2024

@BlackScorp do you know when will a the next release will happen, thanks?

@BlackScorp
Copy link
Collaborator

@harli91 planed for next week, as long as nothing comes in between

@BlackScorp
Copy link
Collaborator

fixed with #849

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