What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Few more observations I've found during OMS training chapter: In current suite version there are al
Few more observations I've found during OMS training chapter:
In current suite version there are already methods extendConditionPlugins()
and extendCommandPlugins()
in OmsDependencyProvider
class which can be easily extended so there is no need to do it in the way like it's mentioned in steps 2.3 and 2.4. The next thing I've struggled with is that adding DummyPaymentConfig::PAYMENT_METHOD_INVOICE
to config_default.php
isn't enough. There is a config_oms-development.php
in config/common
which overrides this payment method with DummyPayment01
. This line needs to be commented in order to make it work. After that I've managed to create an order with my Demo01
payment method. However, when I click on even triggers button, the State column is not changed and it always says it's in new
state. But the state of the order has changed in the end as well as the event trigger buttons.
Comments
-
See the screenshot
0 -
For DummyPayment01 : add the class in the config_default
0 -
use Spryker\Shared\DummyPayment\DummyPaymentConfig;
0 -
It worked for me.
0 -
And where do you use this class? It will be unused if just imported.
0 -
config/Shared/config_default.php
0 -
$config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING] = [ PayoneConfig::PAYMENT_METHOD_CREDIT_CARD => 'PayoneCreditCardPartialOperations', PayoneConfig::PAYMENT_METHOD_INSTANT_ONLINE_TRANSFER => 'PayoneOnlineTransferPartialOperations', DummyPaymentConfig::PAYMENT_METHOD_INVOICE => 'Demo01', ];
0 -
Ah now I see π Nice then, it's another possible solution to make Demo01 process to be used instead. But I still have the problem with the incorrect display of State column.
0 -
I have done the checkout using Dummy payment option from Frontend and got this result.
0 -
And that's not correct. You should see Demo01 instead.
0 -
Payment methods that I can view in frontend.
0 -
It belongs to Dummy Payment / Invoice. But if it's still showing you DummyPayment01 then the solution you suggested probably doesn't work as it's overwritten by config_oms-development.php.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 896 Developer Corner
- 758 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 23 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random