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

Filtering order to send to api #98

Open
M4nch4k opened this issue Sep 15, 2022 · 0 comments
Open

Filtering order to send to api #98

M4nch4k opened this issue Sep 15, 2022 · 0 comments

Comments

@M4nch4k
Copy link

M4nch4k commented Sep 15, 2022

Hello,

This is not an issue, but I'm trying to sent only a part of the order to trustpilot.

I have made an around method on the observer OrderSaveObserver on the execute method.

My code log into this around method, so I filter in that method to call the trustpilot observer method only if the condition is respected.

But it looks like all the customer receive a trustpilot email. But I can't see why they are still receiving it, and there is no way to test it, only production exists...

Do you know if there is another way to send the orders to trustpilot. Because maybe trustpilot retrieves my orders by another way so my override is useless.

Any advice is welcome.

Regards
Antoine Legrand.

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

No branches or pull requests

1 participant