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

You have requested a non-existent service "multisafepay.payment_option_service". #8

Open
mark-app opened this issue Jan 28, 2025 · 7 comments

Comments

@mark-app
Copy link

When I try to configure the latest version of the module in PrestaShop 8, I get the following message:

You have requested a non-existent service “multisafepay.payment_option_service”.

I cannot re-install the module either.

Image

Image

@mark-app
Copy link
Author

I get this message when I try to uninstall the module:

Kan actie Uninstall niet toepassen op multisafepayofficial. You have requested a non-existent service "multisafepay.payment_option_service".

@danielcivit
Copy link
Member

Hi @mark-app.

  • We can install, and uninstall the plugin without issues.
  • About the error message, as you can see, the 'multisafepay.payment_option_service' is properly implemented and declared here:
    multisafepay.payment_option_service:
    class: MultiSafepay\PrestaShop\Services\PaymentOptionService
    arguments:
    - "@multisafepay"

Try to clean the cache by running the following commands.

bin/console cache:clear
bin/console cache:clear

Or maybe manually removing the content of the following directories:

var/cache/prod 
var/cache/dev

Could you try these actions, preferably in a staging environment if you can reproduce the same issue there, and let us know if that solves the issue?

==

Alternatively, please, share with us:

  • Specific version of PrestaShop.
  • Specific version of PHP.

And we will try to reproduce the same issue using same variables.

@mark-app
Copy link
Author

@danielcivit I have already tried clearing the cache but unfortunately that does not fix the problem.

I tested it with a live webshop on PrestaShop 8.0.1 with PHP 7.4.33. But also with a local test webshop on MAMP with PrestaShop 8.2 and different versions of PHP (7.4, 8.0.2, 8.1.31)

@danielcivit
Copy link
Member

Hi @mark-app

Unfortunately, we have not been able to reproduce this issue, even using those versions.

  • Could you please let us know how and where you downloaded the module?

    • Did you use git clone
    • Did you download it from the releases section of the repository
  • Is it possible for you, give us access to a staging environment, where we can reproduce this issue?

    • If that's the case, please, don't share private data here, instead, send us an email to [email protected] and we will handle this in a private channel.

@supersophisticated22
Copy link

supersophisticated22 commented Feb 19, 2025

I have the same issue with the 15.16.0 module
Installed it in PS 8.2 with php 8.2 now the error

You have requested a non-existent service "multisafepay.payment_option_service".
[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException 0]

Ps I’ve already cleared the cache

@danielcivit
Copy link
Member

Hi @supersophisticated22

  • Is it possible for you to provide the full backtrace of the error?

  • Could you please let us know how and where you downloaded the module?

    • Did you use git clone
    • Did you download it from the releases section of the repository
  • Is it possible for you, give us access to a staging environment, where we can reproduce this issue?

    • If that's the case, please, don't share private data here, instead, send us an email to [email protected] and we will handle this in a private channel.

@danielcivit
Copy link
Member

Hi @mark-app

It seems we didn't receive any more comments from your side.

Is the issue fixed on your side? If that's the case, could you provide feedback about what happened?

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

3 participants