Refund & Emailing processes
-
Hello, I’m developing payment plugins for EMS bank and i’ve faced an issue in refund functionality, we use “woocommerce_refund_created” action to create a refund in our API, but when our custom function returns false or some Exception, it sends email ‘refund is succeeded’ to the customer, and we have the next situation: a merchant will receive an error notification, but a customer will receive an email with success message.
Can we cancel the sending email in some cases and if so – how we can do that?
Also let me know if you need some code examples.
Best Regards, Denis
I don’t have a site with WordPress.com yet
-
Since your site isn’t hosted with WordPress.com, we’re limited in the support that we can share in these forums.
The good news is that WooCommerce support is available here: https://wordpress.org/support/plugin/woocommerce
The folks in that forum are experts in WooCommerce and are in the best position to help. Hope that helps!
- The topic ‘Refund & Emailing processes’ is closed to new replies.