Skip to content

Impossible to get a service from the hook validate order #9

@Hydrog3n

Description

@Hydrog3n

Hello,

We are working with sogecommerce module. We using the hook actionValidateOrder in another module and we see that using $this->get('my.module.service') are not working because the kernel looks to not be loaded,

https://github.com/PrestaShop/PrestaShop/blob/develop/classes/module/Module.php#L3382C1-L3386C10

Kernel Container is not available

We are wondering if you know more about that? If it's our side or prestashop?

We have used other payment module and that working well.

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions