Hi Jamie, thanks for getting in touch. I suspect that subscription payment failures may not be handled quite right, so you have prompted me to take a proper look.
I will do some testing myself, but if you could provide some more information that would help. I’d like to investigate the failed subscription payment handling first (i.e. your points 1 and 2). I’ll deal with the change of email address later.
The first thing to do is to make sure you have the Debug Log option checked on the wc-ac-hook settings. You may have this on already but if not do check ‘Enable logging’.
Each of the parent and renewal orders has an order number. When you are looking at the order (when logged in to wp-admin), the order notes will list all the ‘Order status changed’ messages on a specific date. Along with the debug log we can compare what wc-ac-hook did on that day and time, since it will list the order number on each log entry. You can view the debug log at ‘WooCommerce > System status > Logs > wc-ac-hook-*’. Select the log for a given date and click on view.
Please can you look at the failed order (associated with your point 1) and tell me the dates and the sequence of ‘Order status changed’ messages from the order notes. Assuming you have the wc-ac-hook Debug Log enabled can you then cut and paste any entries from the debug log for that order (on the dates from the order notes). Then can you repeat this process for the new order that was created (when the subscription was reactivated).
Similarly can you do the same process (of checking the order status changes in the order notes and the entries in the debug log) for the failed order (associated with your point 2).
Many thanks,
Matthew