-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation][Refund] Add cookbook about refund customization with improvements #12748
[Documentation][Refund] Add cookbook about refund customization with improvements #12748
Conversation
GSadee
commented
Jun 24, 2021
Q | A |
---|---|
Branch? | 1.9 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Related tickets | bases on #12717 and waits for merge Sylius/RefundPlugin#320 |
License | MIT |
be5fdb1
to
454d514
Compare
454d514
to
acd4b2d
Compare
use Symfony\Component\Messenger\MessageBusInterface; | ||
use Webmozart\Assert\Assert; | ||
|
||
final class RefundPaymentProcessManager implements UnitsRefundedProcessStepInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's sad, we cannot decorate it or override some smaller services :( Perhaps we should thing about separating some concepts from the original handler to other services
.. code-block:: bash | ||
|
||
mkdir -p templates/bundles/SyliusRefundPlugin/Order/Admin | ||
cp vendor/sylius/refund-plugin/src/Resources/views/Order/Admin/_refundPayments.html.twig templates/bundles/SyliusRefundPlugin/Order/Admin/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, it's a clue for us, that maybe we could throw some UI event there 🚀
e8ef687
to
1e1947e
Compare
Thank you, Grzegorz! 🥇 |