Adyen / adyen-shopware5

MIT License
11 stars 12 forks source link

[PW-4355] "Test credentials" not working #162

Closed StephanAltmann85 closed 3 years ago

StephanAltmann85 commented 3 years ago

Describe the bug Error message: Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "shop".

To Reproduce

  1. go to plugin manager and edit configuration of Adyen plugin
  2. click on test credentials

Screenshots test-crdentials

Desktop (please complete the following information): Shopware 5.6.9 Adyen 1.7.1

StephanAltmann85 commented 3 years ago

Reason: $paymentMethodService = $this->get('adyen_payment.components.adyen.payment.method');

<argument type="service" id="session"/> This service is not available in the backend.

Related PR: https://github.com/Adyen/adyen-shopware5/pull/107

acampos1916 commented 3 years ago

Thanks for opening this issue @StephanAltmann85. This test function is being refactored in #155 and that service won't be used anymore.