Please add a configurable maximum number of failed renewal payment retries for subscription products, similar to the retry settings available in PayPal.
For example, a merchant should be able to set a product to:
Maximum retry attempts: 1
If the renewal payment fails and the paid subscription period has already expired, the subscription should then be automatically cancelled instead of continuing payment retries for many additional days.
This is especially important for SaaS and access-based services. Once the customer's paid access period has expired, we may want the subscription to terminate immediately after the first failed renewal so the customer can simply create a new subscription later.
At the moment Creem controls the retry schedule automatically, and merchants cannot configure the maximum number of attempts. This can result in an old past_due subscription remaining alive for many days and potentially charging the customer after they have already stopped using the service or created another subscription.
Ideally this should be configurable per product in the Dashboard and through the API, for example:
Maximum payment retries: 0 / 1 / 2 / 3 / Creem default
When the configured maximum is reached, Creem should automatically move the subscription to canceled and stop any further collection attempts.
