richtermeister / symfony-shopify-bundle Goto Github PK
View Code? Open in Web Editor NEWMakes Shopify app development easier, quicker, stronger.
License: MIT License
Makes Shopify app development easier, quicker, stronger.
License: MIT License
I have this issue while trying to install the bundle for Symfony 4.2
In ArrayNodeDefinition.php line 475:
->cannotBeEmpty() is not applicable to concrete nodes at path "codecloud_shopify.credentials"
Hmm the docs don't mention the "credentials" parameters.
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?
Hello and thank you for a great bundle which has worked great for us so far 👍
We've just received this notice from Shopify from our app that uses the Order endpoint with your bundle:
Developer content
One or more of your private apps have made deprecated API calls in the last 30 days. Support for these versions will be removed on April 1, 2020. Please update your apps listed below to API version 2019-07 or later to ensure they continue to function correctly.
The page filter has been removed from multiple endpoints. Use cursor-based pagination instead.
It seems from inspecting the code that OrderEndpoint::findAll(array $query)
uses the page approach to retrieving orders.
Is there any plan to update this bundle to support cursor based pagination as required by Shopify?
Thanks!
Hello.
Have you tried using this bundle with Symfony 4?
I tried install composer require codecloud/symfony-shopify-bundle:dev-master
but installation was interrupted with such a message
Your requirements could not be resolved to an installable set of packages.
Problem 1
Are you going to support Symfony 4?
I think the main changes will be related to DependencyInjection and Security.
UPGRADE FROM 3.x to 4.0
Thanks!
Could you please to write a instruction "How add this bundle in symfony project
I get this error
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! ArgumentCountError {#1253
!! #message: "Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in /srv/app/vendor/codecloud/symfony-shopify-bundle/src/DependencyInjection/Configuration.php on line 16 and at least 1 expected"
!! #code: 0
!! #file: "./vendor/symfony/config/Definition/Builder/TreeBuilder.php"
!! #line: 26
!! trace: {
!! ./vendor/symfony/config/Definition/Builder/TreeBuilder.php:26 { …}
!! ./vendor/codecloud/symfony-shopify-bundle/src/DependencyInjection/Configuration.php:16 { …}
!! ./vendor/symfony/config/Definition/Processor.php:46 { …}
!! ./vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php:83 { …}
!! ./vendor/symfony/dependency-injection/Compiler/Compiler.php:73 { …}
!! ./vendor/symfony/dependency-injection/ContainerBuilder.php:721 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:487 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:709 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:122 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:148 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:69 { …}
!! ./vendor/symfony/console/Application.php:168 { …}
!! ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}
!! ./vendor/autoload_runtime.php:29 { …}
!! ./bin/console:11 {
!! ›
!! › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
!! ›
!! arguments: {
!! "/srv/app/vendor/autoload_runtime.php"
!! }
!! }
!! }
!! }
!! 2023-03-27T11:20:31+00:00 [critical] Uncaught Error: Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct(), 0 passed in /srv/app/vendor/codecloud/symfony-shopify-bundle/src/DependencyInjection/Configuration.php on line 16 and at least 1 expected
my config
code_cloud_shopify:
store_manager_id: App\Service\Shopify\ShopifyStoreManager
oauth:
api_key: fff
shared_secret: fff
scope: "read_customers,write_customers"
redirect_route: "shopify_plugin_index"
webhooks:
- orders/create
- customers/update
ok i fix it edit Configuration
```
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('codecloud_shopify');
$rootNode = $treeBuilder->getRootNode();
now have erros :
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In ArrayNodeDefinition.php line 436:
!!
!! ->cannotBeEmpty() is not applicable to concrete nodes at path "codecloud_sh
!! opify.credentials".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.