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

CancelLineController::statusAction does not take salesChannel into account #972

Open
schneider-felix opened this issue Mar 6, 2025 · 1 comment

Comments

@schneider-felix
Copy link

I noticed in our monitoring that we receive some error messages like this:

Error executing API call (404: Not Found): Order ******** exists, but belongs to a different website profile than the API key used.. Documentation: https://docs.mollie.com/overview/handling-errors

After a little bit of investigation I noticed that the CancelLineController::statusAction does not take the salesChannel of the order into account. When retrieving the client from the clientFactory it therefore sometimes uses the credentials of the wrong salesChannel.

$client = $this->clientFactory->getClient();

@BlackScorp
Copy link
Collaborator

Hi,

thx for the investigation, we will fix the issue.

Best regards,

Vitalij

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