https://www.spryker.com logo
Join Slack
Powered by
# help
  • l

    late-tiger-76201

    01/05/2023, 2:37 PM
    Hi guys, do you have an example how to get configuration values from “config/shared” folder files? Especially when try to get credentials for testing. Thx
    e
    • 2
    • 1
  • d

    damp-area-26048

    01/05/2023, 5:39 PM
    Hi guys, wondering if this looks familiar to anyone as part of ‘Docker/sdk up’ to get the following error
    Copy code
    [info] npm
    [info]
    [info] ERR!
    [info]  bindings not accessible from watchpack-chokidar2:fsevents
    ➖ 1
    • 1
    • 1
  • m

    millions-river-67963

    01/06/2023, 12:32 AM
    Hello Team, I was trying to use Spryks, but when running some of them like AddGlueBasicStructure, an error like this would pop up.
    Error - Exception: Class 'Doctrine\Common\Inflector\Inflector' not found
    in /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Filter/SingularizeFilter.php (31)
    Command: /data/vendor/bin/console spryk:run AddGlueBasicStructure
    Does anyone have any solutions to this?
    p
    • 2
    • 5
  • w

    wonderful-baker-94910

    01/06/2023, 4:59 AM
    Hi everyone #help I'm facing this error while creating user in the spryker back-office, if somebody knows how to fix it please let me know.
    e
    • 2
    • 3
  • a

    adventurous-piano-41045

    01/06/2023, 10:10 AM
    Hello Team #help, I was trying to install spryker with docker and I am facing an issue with "docker/sdk bootstrap deploy.dev.yml" this command when I hit this command, never ending process is going on and not getting any error and response too, I also tried with root user the same issue is also coming there. Then I tried with installing spryker without docker and I followed below documentation https://docs.spryker.com/docs/scos/dev/setup/installing-spryker-without-docker.html So I started installing the minimum requirements as mentioned in documentation, while installing I am facing below errors 1.When I am trying to install RabbitMQ v3.6+ it not getting installed as we need. 2.When I am trying to install Jenkins, all plugins are not getting installed. 3.Redis installed successfully but in the documentation as it is mentioned ,Redis needs to run on localhost:10009.But when I am trying to run redis on given port number page not getting loaded. Could someone help me to resolve this issue. Thanks.
  • f

    few-address-803

    01/06/2023, 1:03 PM
    Hello everyone #help I'm facing this error while accessing sudo -s, if somebody knows how to fix it please let me know
    ✅ 1
    e
    s
    • 3
    • 2
  • f

    few-address-803

    01/09/2023, 7:14 AM
    Hello everyone #help I'm facing this error while accessing URL or endpoints docker/sdk is up, if somebody knows how to fix it please let me know
    m
    s
    • 3
    • 31
  • r

    rough-agency-88294

    01/09/2023, 12:37 PM
    Can I do Cache-Aside semantics with the Redis instance?
  • m

    millions-river-67963

    01/10/2023, 12:50 AM
    Hi Team, I wanted some clarification on the Glue API. I've been seeing some conversations on Slack that are saying that the old Glue API's structure is becoming deprecated and that a new one is in the works. This was in November that I've been seeing these threads. I just want to make sure. Is the new Glue API released? Will we not be able to use the old Glue API anymore? What differences are there between the old and new system? Any information would help greatly. Thank you!
    m
    i
    • 3
    • 3
  • f

    few-address-803

    01/10/2023, 9:06 AM
    After run docker/sdk up error occurred please help me.
    ✅ 1
    m
    • 2
    • 7
  • a

    adamant-oil-10501

    01/10/2023, 11:00 AM
    Hello . iam trying to follow the docs (https://docs.spryker.com/docs/marketplace/dev/howtos/how-to-create-a-new-module-with-application.html#register-a-new-module) and create a new component as below. but after running npm run mp:build. i see a message unknown html tag web-mp-hello-world. any suggestions what iam doing wrong?..
    q
    g
    • 3
    • 5
  • m

    modern-garden-96516

    01/10/2023, 3:20 PM
    Hi Everyone, i hope everyone is doing great, i have one query which i would like to discuss: there is sales-return folder inside vendor and inside persistence folder, i can see the spy-sales_return_schemal.xml file where there is a table named "*spy_sales_return_item*" and i need values of reason filed of that table so for that i extended the salesReturnRepository and added one custom method where i used simple select sql query to get the row of the table "*spy_sales_return-item*" table with the help of fk_sales_order_item: public function getPyzSalesReturn(int $orderItemId) { $returnReason = SpySalesReturnItemQuery::create() ->findByFkSalesOrderItem($orderItemId); return $returnReason; } but i couldn't get the row/data(empty array of data) and i used all the other approach by using different filters and with different ids like orderitemid ,returnids and everything such as SpySalesReturnItemQuery::create()->filterByFkSalesOrderItem($orderItemId)->find(); or SpySalesReturnItemQuery::create()->find(); or SpySalesReturnItemQuery::create()->findBySalesReturnItemId(id): but still didn't get the row/data from this table. i used all the other tables other than this SpySalesReturnItemQuery and get the data without any issue. Has anyone faced this or am i missing something here?
  • g

    gifted-processor-93179

    01/10/2023, 3:43 PM
    Hey spryker fam, I am trying to integrate the stripe connect feature to spryker. while processing to account create_links (https://stripe.com/docs/api/account_links) merchant onboarding flow starts. After flow ends instead of returning to return_url which is provided, it redirects to the merchant login page. i have attached an image of the function which provides a refresh and return url.
  • c

    calm-toddler-60539

    01/10/2023, 4:13 PM
    Hello all, I am trying to add a new payment provider to Spryker. I have created a module with these files but I still can not see the payment provider on the Yves frontend. Can someone please tell me if there is any additional configuration or a wire-up that I need to do to make this work?
    g
    e
    a
    • 4
    • 29
  • m

    mysterious-ambulance-11183

    01/10/2023, 7:15 PM
    Hey guys, I would like to create a PDF, for example with a package like https://github.com/KnpLabs/KnpSnappyBundle. But here I need to download a binary and link to it. How do I do that in PaaS? Normally I would have put that in a Dockerfile...
    m
    • 2
    • 2
  • r

    rough-agency-88294

    01/11/2023, 8:07 AM
    Hi Im trying to setup email but the tutorial page on it in the docs is dead https://docs.spryker.com/docs/scos/dev/tutorials-and-howtos/introduction-tutorials/tutorial-sending-an-email.html
    • 1
    • 2
  • c

    calm-toddler-60539

    01/11/2023, 12:01 PM
    Hello guys, is anyone here using the Spryk GUI? When I try to click anything on the Spryk GUI page in the back channel, I get
    Copy code
    Symfony \ Component \ Form \ Exception \ UnexpectedTypeException
    Expected argument of type "Symfony\Component\HttpFoundation\Request", "null" given
    p
    • 2
    • 2
  • l

    late-tiger-76201

    01/12/2023, 8:24 AM
    Does anybody have a documentation site how to setup codeception tests “correct” to not use my local test database during test runs?
  • w

    wonderful-baker-94910

    01/12/2023, 10:18 AM
    Hello everyone , #help I am trying to add a new module in yves as hands-on practice and as it says here in the document to register RouteProviderPlugin so the application knows about your controller action. So, how to register this is there any command which i have to run because when i followed next step the 5th step it is giving me error that that plugin is undefined!!
    m
    • 2
    • 9
  • h

    hallowed-dentist-19902

    01/12/2023, 10:26 AM
    Trying to use /access-tokens API endpoint, I receive:
    Copy code
    ...
                "code": "003",
                "status": 401,
                "detail": "Failed to authenticate user."
    ...
  • h

    hallowed-dentist-19902

    01/12/2023, 10:26 AM
    Copy code
    {
      "data": {
        "type": "access-tokens",
        "attributes": {
          "username": "<mailto:admin@spryker.com|admin@spryker.com>",
          "password": "change123"
        }
      }
    }
    m
    m
    • 3
    • 37
  • g

    gentle-art-90358

    01/12/2023, 11:02 AM
    On a related question. Can you authenticate a Backoffice User (not a Customer) on the Glue Api?
    m
    • 2
    • 3
  • a

    ancient-apartment-59274

    01/13/2023, 10:09 AM
    Hello, the access to a category template by its name via
    findCategoryTemplateByName
    is deprecated or already removed without replacement. Yes, accessing it via a name is really not optimal, but how to access these it in future? Is there access or any other concept/mechanism planned or is this now intended to be project scope? Best regards
  • c

    calm-toddler-60539

    01/13/2023, 10:33 AM
    }Hello, I am having trouble with dependency injection through the 'injector/' directory in the module. I saw in the documentation that you can inject dependency this way but it is not working for me. Can someone please guide me if this way works for you? I am trying to inject a dependency in
    CheckoutPageDepedencyProvider
    Here is my code ... config_default.php:
    Copy code
    // ---------- Dependency injector
    $config[KernelConstants::DEPENDENCY_INJECTOR_YVES] = [
        'CheckoutPage' => [
            PaymentMethodsConstants::PROVIDER_NAME,
        ],
    ];
    MyProject\Yves\PaymentMethods\Dependency\Injector\PaymentDependencyProvider.php
    Copy code
    <?php
    
    namespace MyProject\Yves\PaymentMethods\Dependency\Injector;
    
    use Spryker\Yves\DummyPayment\Dependency\Injector\CheckoutDependencyInjector;
    use Spryker\Yves\Kernel\Container;
    use MyProject\Yves\PaymentMethods\Plugin\DirectDebitSubFormPlugin;
    use Spryker\Yves\Checkout\CheckoutDependencyProvider;
    use Spryker\Yves\StepEngine\Dependency\Plugin\Form\SubFormPluginCollection;
    use Spryker\Yves\Kernel\Dependency\Injector\DependencyInjectorInterface;
    
    
    class CheckoutPageDependencyInjector implements DependencyInjectorInterface
    {
        /**
         * @param \Spryker\Yves\Kernel\Container $container
         *
         * @return \Spryker\Yves\Kernel\Container
         */
        protected function injectPaymentSubForms(Container $container): Container
        {
            $container->extend(
                CheckoutDependencyProvider::PAYMENT_SUB_FORMS,
                function (SubFormPluginCollection $paymentSubForms) {
                   $paymentSubForms->add(new DirectDebitSubFormPlugin());
    
                return $paymentSubForms;
            });
    
    
            return $container;
        }
    
        public function inject(Container $container): Container
        {
            $container = $this->injectPaymentSubForms($container);
    
            return $container;
        }
    }
    e
    e
    • 3
    • 8
  • s

    straight-terabyte-22793

    01/14/2023, 9:20 AM
    Any help with this. Not supported on Apple M1 Pro - B2C-Demo-Marketplace
    m
    • 2
    • 11
  • e

    eager-dinner-49049

    01/16/2023, 6:49 AM
    Hello Everyone, I have created a new CMS page & trying to upload image but getting error while uploading image in Backoffice (admin).
  • w

    wonderful-baker-94910

    01/16/2023, 7:41 AM
    Hi Everyone #help , I want to know if there is any explanation or document where i can know about every single folder of spryker folder structure.
    m
    w
    • 3
    • 3
  • e

    elegant-cartoon-61249

    01/16/2023, 9:17 AM
    Examprep Hi Everyone #help I need to know while creating a new module in Zed 1. I created 2 different files in " src/Pyz/Zed/MyModule/Business " for Facade and Factory named as Facade.php and Factory.php 2. Now i created a MyModule folder inside Business, Now I want to perform string reverser do i have to create another file inside " src/Pyz/Zed/MyModule/Business/MyModule " I am bit confused here
    c
    • 2
    • 22
  • c

    calm-toddler-60539

    01/16/2023, 9:35 AM
    Hello all, can you please tell me how can I know the details about the supported PHP version for the each version of Spryker Demo shops? I would like to look for the B2C shop that supports PHP< 8
    m
    w
    • 3
    • 5
  • m

    millions-river-67963

    01/16/2023, 3:22 PM
    Hello everyone, I can"t get anything on the Glue layer to work. Even just as a test, I want to display something very simple on my browser. The test code I have is
    Copy code
    class ModuleResourceController extends AbstractController
    {
        public function getAction(
            string $id,
            RestRequestInterface $glueRequestTransfer
        ): RestResponseInterface
        {
            return (new RestResponse())->addError((new RestErrorMessageTransfer())->setStatus(200));
        }
    }
    But I get this when I visit the browser.
    Copy code
    {
      "errors": [
        {
          "status": 404,
          "detail": "Not Found"
        }
      ]
    }
    I would just like something on the Glue API to work. What are the possible solutions to this?
    c
    w
    • 3
    • 3
1...777879...102Latest