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

disable mollie email for banktransfer order #608

Open
apocratus opened this issue Mar 3, 2022 · 1 comment
Open

disable mollie email for banktransfer order #608

apocratus opened this issue Mar 3, 2022 · 1 comment

Comments

@apocratus
Copy link

We have a customer using the mollie woocommerce plugin who would like to disable the mollie email (not the woocommerce email) when someone orders their product and pays with a banktransfer. I've been looking at the code and removing the billingEmail from the mollie call should do the trick, I think. But I cannot find the hook I should use to remove it just from this call. Any help would be greatly appreciated.

@apocratus
Copy link
Author

Maybe a bit more explanation. By letting the customer fill in the Billing email the billing email is automatically send to that emailaddress, it seems to be impossible to disable that email. Normally this would not be a problem, but in this particular project the billing email should not be send to the customer because his organisation is the billing participant, and the bills are paid in another way.

I would expect this to be solvable through the usage of some of the hooks or filters available in your plugin, but I have not found anything definitive. Removing the billingEmail from the whole process doesn't seem like a good idea as the client still wants that for profiling etc. But removing and re-adding it seems nigh impossible. Maybe I am looking at the problem wrong and have overlooked something basic.

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