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

    thankful-raincoat-73335

    05/17/2023, 11:52 AM
    Hello, I am new in spryker. Can you help me How can I create a custom API in Spryker? Do you have any references or module for the same?
    r
    • 2
    • 2
  • k

    kind-sunset-60137

    05/17/2023, 4:23 PM
    Hi Experts, We are working on a new implementation with a multi-country (different regions) setup. We want to know how to decide if we should go with a single database setup or should go with a store-specific database setup. In our case, the business logic is the same but we also need to understand the performance aspects. Also, not sure about the cost implications of the same. Looking forward to the expert advice. Thanks in advance!
    p
    • 2
    • 1
  • k

    kind-sunset-60137

    05/17/2023, 4:34 PM
    Hi Experts Query #2 for the day where I need your advice. Where can I find the documentation to expose Spryker to downstream systems to receive the updates for product catalog and inventory? How to expose a webservice? What all security aspects to be considered for exposing the webservice to third party system? IP whitelisting or VPN, what is being used? On the same line, we also need to consume few services from third party systems. What all aspects we need to consider? Does Spryker provides the IPs to be shared with third party systems? Or a VPN needs to be considered? I am new to the Spryker eco-system and need the expert advice here? Regards
  • a

    average-fall-19459

    05/18/2023, 9:45 AM
    Hi Everyone Need help with one issue that I am facing , I am trying to redirect a core spryker URL to my custom module , to do that I have extended the core RouteProviderPlugin and overrided the addRoutes() method to map url to my custom controller , also registered the routeproviderplugin in RouteDependencyProvider , but still the URL is redirected to spryker project module. Is there anything else that needs to be done ?
    m
    • 2
    • 5
  • g

    great-byte-99546

    05/18/2023, 1:38 PM
    Why when you add two action buttons in backoffice, there is
    ,
    added between buttons ? 😅
  • a

    average-fall-19459

    05/19/2023, 10:00 AM
    Added a new GUI module , also disabled the same for backoffice users , executed navigation:cache-build command , the new GUI is appearing as a menu in merchant portal as well as back office . As I have already denied access to backoffice , it is not able to access but how do I remove the menu from backoffice and only make it available under merchant portal ?
    g
    • 2
    • 4
  • c

    cool-hamburger-85057

    05/20/2023, 5:29 AM
    Hi team, im getting below error can anybody tell me solution in controller file.
  • b

    broad-queen-33863

    05/22/2023, 1:31 AM
    I'm currently in the process of trying to get debug up and running on a WSL2 instance in a Vscode. So far i've been successful by adding a "hostname": "0.0.0.0" to the default suggested json file from here and i'm getting notices about deprecated packages now, compared to no information before, but my breakpoints don't seem to work properly. I can assume either my mapping or something else in my config is wrong. Could somebody advise how to approach this ? Appended are the settings for xdebug listening json and the structure of my workspace in case my mappings are off.
  • i

    icy-furniture-80558

    05/22/2023, 8:19 AM
    Hi Team while using spryk:run command for building Glue Backend API root@IN-2H6B043:/home/preyamjasteen/Projects/Spryker/b2b-demo-marketplace# docker/sdk console spryk:run AddGlueBasicStructure --mode=project --module=VinsRestApi --organization=Pyz --resourceType=vins Warning: Neither SSH agent or COMPOSER_AUTH is configured. Private repositories would not be accessible. --> DEVELOPMENT MODE Store: DE | Code bucket: DE | Environment: docker.dev Enter value for AddGlueResourceMapper.subDirectory argument [Mapper]:
    Mapper
    Error - Exception: Call to undefined method PHPStan\BetterReflection\BetterReflection::classReflector() in /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php (233) Command: /data/vendor/bin/console spryk:run AddGlueBasicStructure --mode=project --module=VinsRestApi --organization=Pyz --resourceType=vins Trace: #0 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(245): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getReflection(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition)) what is the solution to resolve this error ?
    p
    • 2
    • 2
  • n

    numerous-crowd-1561

    05/22/2023, 12:08 PM
    Hi Everyone, I have doubt about third party integration in spryker, Is there any framework provided by spryker for third party integration ? Please guide me for this.
    w
    • 2
    • 22
  • r

    rich-guitar-29888

    05/22/2023, 1:21 PM
    Hi Team i want to create a custom job in spryker how do i create a job. As of now i'm aware of the jenkins.php only
    p
    • 2
    • 1
  • i

    icy-furniture-80558

    05/22/2023, 2:19 PM
    Hi Team, I am trying generate a token for Glue backend API curl --location 'http://glue-backend.de.spryker.local/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Accept: application/json' \ --data-urlencode 'grant_type=password' \ --data-urlencode 'username=<BO dmin user mail ID> ' \ --data-urlencode 'password=<BO user pwd>' but getting [ { "status": 400, "code": "invalid_client", "message": "Client authentication failed" } ] in DB, I could observe one Oauth client with identifier frontend Can someone explain how client ID is fetched when we pass the password grant type ?
    w
    • 2
    • 2
  • b

    brave-rocket-76034

    05/22/2023, 3:24 PM
    Hi Team, I am trying to install spryker in aws ec2 using ubuntu after install composer
  • b

    brave-rocket-76034

    05/22/2023, 3:24 PM
    iam getting the following error
  • b

    brave-rocket-76034

    05/22/2023, 3:24 PM
    ubuntu@ip-172-31-26-186:~$ vendor/bin/console transfer:generate -vvv -bash: vendor/bin/console: No such file or directory
  • b

    brave-rocket-76034

    05/22/2023, 3:25 PM
    i can find vendor and bin
  • b

    brave-rocket-76034

    05/22/2023, 3:25 PM
    i am following the https://docs.spryker.com/docs/scos/dev/tutorials-and-howtos/howtos/howto-install-spryker-in-aws-environment.html#install-spryker doc
  • b

    brave-rocket-76034

    05/22/2023, 3:26 PM
    can someone help from this
  • i

    icy-furniture-80558

    05/23/2023, 12:16 PM
    Hi Team, I created a protected glue Backend API endpoint. It is accessible only with Valid token Now i need to define a scope, so that authenticated user has access only some set of APIs, rather than entire set of APIs, for which i created Glue API authorization scopes followed entire steps mentioned https://docs.spryker.com/docs/scos/dev/glue-api-guides/202204.0/decoupled-glue-infras[…]/how-to-guides/how-to-use-glue-api-authorization-scopes.html
    myResourceRouteProviderPlugin implements ScopeRouteProviderPluginInterface
    and added
    $postRoute->addDefaults(['scope' => 'backend:vinresponse:write']);
    Executed docker/sdk console oauthscope collection filegenerate Warning: Neither SSH agent or COMPOSER_AUTH is configured. Private repositories would not be accessible. --> DEVELOPMENT MODE Store: DE | Environment: docker.dev ---------------------------------------- Scopes collecting in progress Finished. All Done. TESTING STEPS 1 - generated the token with scope as one of the request body params 2 - called the API for which scope is defined, below forbidden response [ { "status": 403, "code": null, "message": "Forbidden." } ] Also noticed in DB, only following scopes are available MariaDB [eu-docker]> select * from spy_oauth_scope; +----------------+-------------+------------------------+ | id_oauth_scope | description | identifier | +----------------+-------------+------------------------+ | 1 | NULL | customer | | 2 | NULL | customer_impersonation | | 3 | NULL | company_user | | 4 | NULL | agent | | 5 | NULL | user | +----------------+-------------+------------------------+ 5 rows in set (0.000 sec) Can someone help me if am missing any steps for authorization scope for glue BE API
  • b

    brave-rocket-76034

    05/23/2023, 12:33 PM
    hi team i am unable to run this now
  • b

    brave-rocket-76034

    05/23/2023, 12:33 PM
    PHP Parse error: syntax error, unexpected ')' in /data/b2c-demo-shop/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 414
    r
    • 2
    • 10
  • c

    cool-dawn-43386

    05/23/2023, 3:22 PM
    Hello everyone, I'm working on translations in my Spryker app, and I'm a bit doubtful about how to do it. For Yves, it's pretty obvious, the data/import/common/common/glossary.csv file does the job well with a pretty logical key/value/locale strategy. For Zed, we go into another world, the texts are hardcoded and we find a csv file per locale in the Translator module with a hardCodedValue/translatedValue strategy ? It seems rather strange to me that we are dealing with two different worlds. Especially since in Zed, not only menu entries are hardcoded, but also all table headers, button labels and so on. Did I miss something or do I really have to check each menu page to have something presentable in my locale as a demo? (and with the browser inspector because it's case sensitive for what is capitalized...) Especially since this is a huge job that will undoubtedly be destroyed as the customer's UI/UX is integrated. Thanks in advance for your answers!
  • c

    calm-toddler-60539

    05/24/2023, 8:25 AM
    Hello all, I am trying to deploy boot file but it is taking ages. It's been stuck here for the last 10 mins. Can someone please help
    • 1
    • 1
  • a

    average-fall-19459

    05/24/2023, 11:04 AM
    Hi Team I have added a GUI module in merchant portal , and want to display customer list for the same . I am using Customer Facade for the same , but unable to get the customer list . Is there anything else that needs to be done ?
    g
    • 2
    • 9
  • b

    brave-rocket-76034

    05/24/2023, 11:15 AM
    Hi Team,
  • b

    brave-rocket-76034

    05/24/2023, 11:15 AM
    i am trying to deploy b2c-demo-shop on ec2 with docker
  • b

    brave-rocket-76034

    05/24/2023, 11:15 AM
    Error response from daemon: driver failed programming external connectivity on endpoint spryker_b2c_gateway_1 (f90b7be618a4f4593e3d725a48bc54542cdbb6eeffb16959cd87e49af7e29126): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 32777 -j DNAT --to-destination 172.19.0.24:0 ! -i br-b03c246feab4: iptables v1.8.4 (legacy): Port `0' not valid
  • b

    brave-rocket-76034

    05/24/2023, 11:15 AM
    could someone help me on this?
  • c

    calm-toddler-60539

    05/24/2023, 12:21 PM
    Hello guys, I want to sort the search results in a way that if a certain fields contains a certain value, it is displayed first. For example if 'available_in_countries' (array) contains 'US', the result should be displayed first. Any hints?
  • e

    elegant-agent-58713

    05/24/2023, 12:55 PM
    Hey everyone, I saw this constraint regarding the merchant pricing. Is this indeed still the case? https://docs.spryker.com/docs/pbc/all/price-management/202212.0/prices-feature-overview/volume-prices-overview.html#threshold We want to introduce this feature, but most of our products use the volume prices. Any other way to solve this?
1...939495...102Latest