Code Monkey home page Code Monkey logo

symfony-shopify-bundle's People

Contributors

codecloud avatar richtermeister avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

symfony-shopify-bundle's Issues

Symfony 4 error

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.

Plans to move to cursor-based pagination

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!

Support Symfony 4?

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

  • Installation request for codecloud/symfony-shopify-bundle dev-master -> satisfiable by codecloud/symfony-shopify-bundle[dev-master].
  • codecloud/symfony-shopify-bundle dev-master requires symfony/framework-bundle ^3.0 -> satisfiable by symfony/framework-bundle[3.0.x-dev, ..., v3.4.5] but these conflict with your requirements or minimum-stability.

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!

Too few arguments to function Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct()

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".



Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.