Skip to content
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

Add hookActionOrderSlipAdd #1206

Draft
wants to merge 4 commits into
base: prestashop/8.x
Choose a base branch
from
Draft

Conversation

Matt75
Copy link
Contributor

@Matt75 Matt75 commented Mar 1, 2024

No description provided.

@Matt75 Matt75 force-pushed the feat/hookActionOrderSlipAdd branch 2 times, most recently from e28c9e1 to 4310bfc Compare March 4, 2024 08:45
@Matt75 Matt75 force-pushed the feat/hookActionOrderSlipAdd branch from 4310bfc to efb6ad3 Compare March 4, 2024 08:45
@Matt75 Matt75 force-pushed the release/v8.3.6.0 branch 2 times, most recently from 7e750da to ae9af0c Compare March 4, 2024 09:25
@@ -684,7 +686,7 @@ services:
arguments:
- "@ps_checkout.repository.pscheckoutcart"

PrestaShop\Module\PrestashopCheckout\PayPal\Payment\Refund\CommandHandler\RefundPayPalCaptureCommandHandler:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change back the dependency name from full class name to ps_checkout.command.handler.paypal.payment.refund.refund_paypal_capture ?
Going forward we should create services/dependencies with full class name, as it's more convenient to call getService(Service::class) than having to remember what the service is named in config

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a problem with my dependencies, as it was the only one wrote with this syntax i thought that it may be the problem (it was obviously not the problem). Forgot to change it back.
As it's more convenient for the getService calls, I will add the new Query in this new style, as well as going back on this change

@Matt75 Matt75 force-pushed the release/v8.3.6.0 branch 3 times, most recently from 7262153 to 8331d46 Compare March 5, 2024 09:54
Base automatically changed from release/v8.3.6.0 to prestashop/8.x March 5, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants