I have desire to execute custom code if a customer's invoice payment fails. Specifically, it would be helpful in the event that an invoice paid by the cron or admin area (not a client interactive checkout, but a renewal invoice) failed to capture, I want to be able to execute custom code.
Please create a hook point that executes if an invoice payment fails.
This ties in with a separate feature request I made about Backup Payment Methods.
Hook point to execute when the payment fails
We have a requirement to run custom code when the payment capture fails, in other words, we are looking for the hook point to execute if the invoice payment fails.Please let us know if that's possible.