How to get order reference after executing sales return from zed (backend) ?
HI,
I want to create a plugin which gets the order reference along with customer details and hit the external apis with the payload as order reference and customer details.
I have also gone with ReturnCreateFormHandlerPluginInterface under the SalesReturnGui which handles the return events after executing the sales return under the Zed but it will not perform the task which I required as it has some form handler and other stuffs which I have no any requirement for the same.
I just want to get the order reference no just after executing the sales return from the backend.
It would be very helpful to me.
Best Answer
-
How about hooking into the command StartReturnCommandPlugin() in the OMS?
Take a look at the
OmsDependencyProvider src/Pyz/Zed/Oms/OmsDependencyProvider.php
You could extend that one or register your command plugin for that event .
3
Answers
-
How about hooking into the command StartReturnCommandPlugin() in the OMS?
Take a look at the
OmsDependencyProvider src/Pyz/Zed/Oms/OmsDependencyProvider.php
You could extend that one or register your command plugin for that event .
3 -
Thank you @Hidran Arias ,
it means allot to me.5
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 73 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 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
- 25 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
- 69 Spryker Safari Questions
- 50 Random