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

    gifted-processor-93179

    01/17/2023, 8:38 AM
    #help Hello, I was trying to redirect from controller to external whitelisted domain but it is not redirecting. it's reloading the same page.
    c
    • 2
    • 4
  • r

    rough-agency-88294

    01/17/2023, 9:06 AM
    https://docs.spryker.com/docs/marketplace/dev/feature-integration-guides/202204.0/marketplace-merchant-portal-core-feature-integration.html#se[…]igs talks about yarn, I thought it was removed?
    • 1
    • 2
  • r

    rough-agency-88294

    01/17/2023, 2:40 PM
    I get a access denied error from
    URL/security-merchant-portal-gui/login
    any pointers what config I'm missing?
    • 1
    • 1
  • g

    gentle-art-90358

    01/17/2023, 3:20 PM
    Question. Is there any way I can hook up into the
    DevelopmentBusinnessFactory
    or more specifically, the
    BundleFinder
    class? I'm trying to add a
    directoryGlobPattern
    to it. Reference:
    • 1
    • 1
  • e

    elegant-agent-58713

    01/18/2023, 7:36 AM
    Question, I've done an dataimportproduct-abstract and data:importproduct-concrete which has also existing products in it. Most of them were correctly updated. But a few now get a fail whale on the site. The error Cloudwatch give is "none of the chained routers were able to generate route xxx route not found What I also see is that in the database its maybe missing a record in spy_url_storage. But dont know if thats the/a problem. The route mentioned is the correct route and hasnt changed since the last import for those products. Anybody any idea how to solve this?
  • a

    astonishing-pencil-74826

    01/18/2023, 7:41 AM
    how can i login to back office in the development local env? what should be the email and password?
    m
    w
    • 3
    • 3
  • g

    glamorous-rocket-21546

    01/18/2023, 12:21 PM
    Hi, Could someone help? How to replace Spryker Merchant Portal logo with own logo on Login page.
  • m

    millions-river-67963

    01/18/2023, 3:28 PM
    Hi Team, I am working on a Glue API, and I want to connect a client to from that to one of my Zed modules. I have a Reader class, but I am having trouble figuring out how to connect to the client. My question is what is the procedure to connecting to a client? I can't find documentation for that.
    Copy code
    class HelpsReader implements HelpsInterface
    {
        protected RestResourceBuilderInterface $restResourceBuilder;
    
        /**
         * @param RestResourceBuilderInterface $restResourceBuilder
         */
        public function __construct(RestResourceBuilderInterface $restResourceBuilder)
        {
            $this->restResourceBuilder = $restResourceBuilder;
        }
    
        public function getHelps(RestRequestInterface $restRequest): RestResponseInterface
        {
            // TODO: Implement getHelps() method.
        }
    }
  • e

    elegant-cartoon-61249

    01/19/2023, 7:49 AM
    #help Hi Team, 1. I have a doubt do we get a AWS ID While cloning spryker b2c-demo-shop ??
  • c

    creamy-wire-93149

    01/19/2023, 10:40 AM
    when creating a product in b2c-demo-marketplace shop I am getting this error, can someone help?
  • h

    hallowed-apartment-29399

    01/20/2023, 4:49 PM
    I have a problem with starting Spryker B21B or B2C demo sites on my local machine. When I try to start the b2b or B2C, I get this error message. I have followed all the steps and updated the hosts file. Going to any fe or be web page gets a "site cannot be reached" page. I can start the containers in docker, but not from Ubuntu. If I start them in Docker, it does not change anything, This is the second time I installed it, the first time it worked, but I ran a command in wsl that broke it, so I removed each dist from wsl, using unregister in ubuntu. I then uninstalled and reinstalled ubunto, docker, then the steps for Stryker B2B and B2C, and neither work. I am sure this is a rookie mistake, I am new to Linux/Ubuntu. Let me know how I can correct, if I have to remove everything (and how) Thanks!!
    p
    • 2
    • 7
  • i

    incalculable-telephone-58618

    01/21/2023, 7:31 AM
    @incalculable-telephone-58618 has left the channel
  • e

    elegant-cartoon-61249

    01/21/2023, 9:28 AM
    #help Hi team, I am trying to Configure debugging in docker using vs code I created a new "Launch.json" file with following code { "version": "0.2.0", "configurations": [ { "name": "Listen for XDebug", "type": "php", "request": "launch", "port": 9003, "runtimeExecutable": "/absolute/path/php/bin", "pathMappings": { "/data": "/local/absolute/path", }, "log": true, "xdebugSettings": { "max_data": 65535, "show_hidden": 1, "max_children": 100, "max_depth": 5 } }, ] } After that there's a section "Avoiding timeouts" I am unable to understand where should i write below code $config[ZedRequestConstants::CLIENT_OPTIONS] = [ 'timeout' => 300, ];
    w
    • 2
    • 3
  • p

    purple-coat-90835

    01/23/2023, 11:02 AM
    Hi there, is there a way to bypass code bucket specific module resolving when extending Twig templates? We have a multi-store setup where the code bucket is defined by the current store. Let's take "DE" and "AT" for example. Our main template is located at
    Pyz/Zed/Mail/Presentation/Mail/the_template.html.twig
    Depending on the current store, we want to extend this template, so we add template files at
    Pyz/Zed/MailDE/Presentation/Mail/the_template.html.twig
    and
    Pyz/Zed/MailAT/Presentation/Mail/the_template.html.twig
    To not have duplicate code, we now want our store-specific templates to extend our main template like this
    Copy code
    {% extends "@Pyz:Mail/Mail/the_template.html.twig" %}
    {% block custom_block %}store specific content{% endblock %}
    Unfortunately this leads to a timeout when rendering the template. I assume (debugging is not that easy at this point :-)) this is because Spryker & Twig resolve the extended
    Mail
    module to the store-specific module (e.g.
    MailDE
    ) which then leads to an endless loop. Is there a way to supress this behavior?
  • b

    boundless-controller-44328

    01/23/2023, 1:19 PM
    Hey guys, I've been trying to get the suite to run, but it seems like the `TaxSetPublisherTriggerPlugin`is not existing as I get
    Error - Exception: Class "Spryker\Zed\TaxStorage\Communication\Plugin\Publisher\TaxSetPublisherTriggerPlugin" not found
    during docker/sdk up. I tried removing the respective plugin but this only causes the import to fail and not setting up products even with unlimited execution time. Any ideas on that?
  • m

    miniature-scientist-44880

    01/23/2023, 1:35 PM
    Hi everyone! I'm trying to import data from xml file via Spryker middleware. I got an error in console command: Exception: The required option "rootNodeName" is missing. Could someone help me with this?
  • c

    calm-toddler-60539

    01/23/2023, 3:09 PM
    Hello all, I would like to redirect to an external payment page when user selects a certain payment method and clicks ''Go to Summary". Any hints?
  • f

    fresh-belgium-62598

    01/23/2023, 3:38 PM
    Hi there, so I checked out b2c-demo-shop.git together with docker-sdk.git, and I did:
    Copy code
    docker/sdk boot deploy.dev.yml
    docker/sdk up
    and it's running as expected 🙂 Next thing is to run the tests together with coverage. I found documentation here: https://docs.spryker.com/docs/scos/dev/the-docker-sdk/202009.0/running-tests-with-the-docker-sdk.html#what-is-a-testing-mode So I did:
    Copy code
    docker/sdk up -t
    docker/sdk testing
    codecept run
    but I got some errors I currently do know how to solve (please help me here):
    f
    • 2
    • 1
  • f

    fresh-belgium-62598

    01/23/2023, 3:41 PM
    image.png
  • b

    bland-car-16279

    01/24/2023, 11:44 AM
    Hi, While handling request to PersistentCart from Yves (for me it's operation addItem (
    /Spryker/Client/PersistentCart/Zed/PersistentCartStub.php
    ) I can see that Client returns
    Quote and completely
    ignores returned
    QuoteErrorTransfer
    in
    QuoteResponseTransfer
    . That causes that there is no error message on Yves and nothing happens. Temporary I solve it by add
    Copy code
    <property name="errors" type="QuoteError[]" singular="error"/>
    to Quote transfer and update
    src/Zed/Yves/CartPage/Controller/CartController.php
    from:
    Copy code
    $this->getFactory()
        ->getCartClient()
        ->addItem($itemTransfer, $request->request->all());
    
    $messageTransfers = $this->getFactory()
        ->getZedRequestClient()
        ->getLastResponseErrorMessages();
    to:
    Copy code
    $quoteTransfer = $this->getFactory()
        ->getCartClient()
        ->addItem($itemTransfer, $request->request->all());
    
    $messageTransfers = [];
    foreach ($quoteTransfer->getErrors() as $error) {
        $messageTransfers[] = (new MessageTransfer())->setValue($error->getMessage());
    }
    
    $messageTransfers = array_merge(
        $messageTransfers,
        $this->getFactory()
            ->getZedRequestClient()
            ->getLastResponseErrorMessages()
    );
    It's the most simple solution, but not the best.
    f
    • 2
    • 2
  • c

    calm-toddler-60539

    01/25/2023, 8:22 AM
    Hello all, While placing an order with a custom payment method, I get "You need to provide at least one state machine process for given method!" error, although I have defined it inside my config_default.php like this:
    Copy code
    $config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING] = [
        PaymentConfig::PAYMENT_FOREIGN_PROVIDER => 'ForeignPaymentB2CStateMachine01',
        UnipayPaymentConfig::PROVIDER_NAME => 'UnipayPayment01'
    ];
    Can someone please tell me what might be the problem?
    m
    • 2
    • 8
  • b

    billions-carpet-85832

    01/25/2023, 12:07 PM
    Hello all, I was setting up the marketplace in my local and facing an issue on the yves page that images are not loading for products in DE store, but all images are loading perfectly on US and AT stores. Attaching the screenshots. Please help me in finding out what went wrong here.
    c
    • 2
    • 2
  • g

    glamorous-rocket-21546

    01/25/2023, 12:13 PM
    Hello all, How to override an angular component. For Eg: DashboardMerchantPortalGui -> dashboard-card.
  • t

    thousands-postman-15049

    01/25/2023, 2:29 PM
    Hi, is there a way to disable JSON-API format for a certain endpoint in GLUE? we need to receive webhooks from our payment provider (stripe) and need to register an endpoint, which will receive the webhooks and have no control over the format.
    w
    w
    • 3
    • 4
  • n

    nutritious-advantage-64480

    01/26/2023, 10:02 AM
    Hi everyone, we switched from the login via local database to SSO a while ago and now we have the requirement to get both working at the same time. Now we are at a point where we can switch between both methods using the SINGLE_SIGN_ON_ACTIVE configuration option, but we couldn’t manage to get both working in parallel. Right now we are stuck and it feels like we’re running in circles. Do you have any tipps, resources, examples or best practices for us? 🙂
  • w

    witty-engineer-68746

    01/26/2023, 10:20 AM
    When you add items to a new guest cart via Glue api endpoint guest-cart-items, and you define quantity e.g. 3, is it supposed to create one sales order item with quantity=3? For me it makes three items with quantity=1
    • 1
    • 1
  • n

    narrow-holiday-67394

    01/26/2023, 11:35 AM
    Hello, everyone! Has anyone had experience in fixing vulnerabilities appearing in the spryker? Now we have identified 3 vulnerabilities that can be fixed by updating packages such as curl, but this is not possible with the current images of the spryker.
  • b

    bland-yacht-60252

    01/26/2023, 2:11 PM
    Hello all, I have a fresh install of b2b_marketplace. But I have an issue with the merchant portal. Do you know what might be the issue?
    m
    • 2
    • 1
  • b

    bland-yacht-60252

    01/26/2023, 2:38 PM
    And last question, I am running docker/sdk up --build --assets --data, but I got back this
    b
    • 2
    • 8
  • l

    late-tiger-76201

    01/26/2023, 3:10 PM
    Hi Folks, Is it possible to see the security / firewall configuration fro spryker inside the profiler? or console?
1...787980...102Latest