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

The service "codecloud_shopify.controller.oauth" has a dependency on a non-existent service #8

Open
hessamza opened this issue Mar 20, 2020 · 7 comments

Comments

@hessamza
Copy link

hi
when i implemented it at stymfony 4 i get this error

The service "codecloud_shopify.controller.oauth" has a dependency on a non-existent service
i think it comes from
code_cloud_shopify:
store_manager_id:
how can i resolve it?

@dimonx3
Copy link

dimonx3 commented Mar 20, 2020

@hessamza
Copy link
Author

hessamza commented Mar 20, 2020

https://github.com/dimonx3/symfony-shopify-bundle
thx for response,
what do you mean?i have to use https://github.com/dimonx3/symfony-shopify-bundle?
and what is a
store_manager_id: { id of your store manager service }

@dimonx3
Copy link

dimonx3 commented Mar 20, 2020

Its fork with fixes and new features.
store_manager_id: 'App\Service\ShopifyStoreManager'
ShopifyStoreManager must implement CodeCloud\Bundle\ShopifyBundle\Model\ShopifyStoreManagerInterface

@sarathkumarbeo
Copy link

@dimonx3 Could you please mention the exact value expected on the "store_manager_id" and where its value is defined? In the services.yml? Could you please post the code snippet?

@dimonx3
Copy link

dimonx3 commented Aug 13, 2021

@sarathkumarbeo
You have to create your file ShopifyStoreManager.php and implement ShopifyStoreManagerInterface from bundle.
For example https://gist.github.com/dimonx3/009bf2b9ab66e071dc6724e1cb5a8ef9

@sarathkumarbeo
Copy link

sarathkumarbeo commented Aug 13, 2021

@dimonx3 Thank you so much for your quick update. We have implemented this bundle with Symfony version 5 without any issues and its working perfectly fine. Now we need too check it in 3.4 version also.

Could you please also mention the next steps. It may be like I need to define a service in service.yml for this ShopifyStoreManager.php, and it should be referred in the "store_manager_id" in config.yml, Isn't it?

image

@dimonx3
Copy link

dimonx3 commented Aug 13, 2021

@sarathkumarbeo Yes, that is right

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