automatewoo-subscriptions icon indicating copy to clipboard operation
automatewoo-subscriptions copied to clipboard

Action for Failed Recurring Payment Retry Rule

Open thenbrent opened this issue 6 years ago • 0 comments

Issue https://github.com/Prospress/automatewoo-subscriptions/issues/6 and the corresponding Idea propose using AutomateWoo to perform actions based on the Retry Rules defined by the by the Failed Recurring Payment Retry System.

We could go further, and add a new action in AutomateWoo which can be used to define and apply Retry Rules.

A retry rule is a clearly defined set of data containing:

  • 'retry_after_interval'
  • 'status_to_apply_to_order'
  • 'status_to_apply_to_subscription'
  • 'email_template_customer'
  • 'email_template_admin'

An action could therefore be used to input and then apply that data on the existing Failed Payment trigger, and/or new failed retry specific hooks (that may be added as part of #6).

This would provide a UI to setup and customise the Retry System, which is something we've had various requests for over the years (including before the Retry System was even built).

A UI with more guidance than the code should also help reduce the issues we see in support with folks requesting help with the custom code for custom retry rules.

thenbrent avatar Jan 30 '19 23:01 thenbrent