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

Billie: A billing organization name is required #904

Closed
carstenjaksch opened this issue Dec 4, 2024 · 1 comment · Fixed by #907
Closed

Billie: A billing organization name is required #904

carstenjaksch opened this issue Dec 4, 2024 · 1 comment · Fixed by #907
Assignees

Comments

@carstenjaksch
Copy link

carstenjaksch commented Dec 4, 2024

Hey, I found this issue: #840

However, the error is not solved. Steps to reproduce:

  1. Set account to "business" type.
  2. Order with address of "private" type.
  3. You will be redirected to a page with 500 error.

Although the account type is set to business, Mollie takes the address company name for the API call.

In that case, Billie should not be displayed at all. We have a rule in Shopware that Billie should not be available to private customers. But this rule does not affect private addresses and there is no way to adjust that.

As you can see in the screenshot, we have no way to check if company name of the address is there or the address is a business one. So the Mollie plugin must ensure that Billie is not available unless a business address with company name is available.

Or at least don't throw a 500 error, implement an error message and let the customer choose another payment method or fix the address.

Bildschirm­foto 2024-12-04 um 13 43 35

Screenshot of log entry:

Bildschirm­foto 2024-12-04 um 13 34 30

Latest Mollie plugin version by the way.

@BlackScorp
Copy link
Collaborator

Hi thx for the ticket,

i forgot about the case that you can still create a private address even with business accounts. will fix it

@BlackScorp BlackScorp self-assigned this Dec 5, 2024
BlackScorp pushed a commit to BlackScorp/Shopware6 that referenced this issue Dec 5, 2024
BlackScorp added a commit that referenced this issue Dec 5, 2024
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

Successfully merging a pull request may close this issue.

2 participants