Woocommerce Subscriptions how to force sending renewal order email?

I have a payment gateway plugin which works with WCS hook woocommerce_scheduled_subscription_payment_
It works fine but not all customers has recurring payments enabled so I would like them to be informed about new order created. Seems like WCS does not send such kind of emails if payment gateway is announced as supporting recurring payments. If autopay fails I try to execute

WC_Subscriptions_Email::send_renewal_order_email($order->id);

but it doesn’t send any email at all.

Read more here: Woocommerce Subscriptions how to force sending renewal order email?

Leave a Reply

Your email address will not be published. Required fields are marked *