Skip to content
Developer Tools
Accelerate development using AI assistants and tools

Renewal and Recovery ​

After the subscription is activated, PayerMax will automatically generate bills and initiate deductions based on the billing cycle configured in the price.

  • For per-seat subscriptions, the deduction amount for each period is calculated based on the number of seats actually effective at the time of renewal;

  • The processing result of each deduction (success/failure/processing) will be notified to the merchant via callbackUrl;

  • For the number of retries, grace period rules, and final handling methods when renewal deduction fails, please refer to the instructions in this chapter.

Merchants should promptly update the user's available service entitlements based on deduction result notifications and subscription status changes (for example, restricting services after deduction failure, and extending the service validity period after successful deduction).

1. Renewal Deduction Time ​

24 hours before the renewal cycle starts, we will generate the bill for the next cycle and begin attempting deduction. If the deduction fails, we will retry once by default.

If the grace period is enabled and the deduction is not successful at the start of the cycle, it will enter the grace period for retry deductions.

If all retries fail, the subscription will be terminated or retained according to the "deduction failure handling strategy".

2. Grace Period Deduction Strategy ​

The grace period means that after the renewal cycle starts, if the renewal is unsuccessful, the user will continue to be provided with entitlements or services, the subscription plan remains valid, and at the same time, deduction retries continue in an attempt to recover.

The grace period is disabled by default. If the merchant needs to enable the grace period strategy to provide users with a longer payment catch-up window, they can log in to the PayerMax Merchant Management Backend, enter the Subscription Management page, click Rule Settings, and enable the configuration.

  • Configuration dimension: Configured at the merchant number dimension. After configuration is complete, it takes effect for all subscription plans under that merchant number;

  • Effective time: After configuration is complete, it takes effect when the next period's deduction bill is generated (it does not affect already generated bills).

Grace Period Window:

The grace period window varies depending on the duration of the subscription plan cycle. The system will combine payment feedback and historical retry performance to intelligently schedule retries within the grace period window and the maximum number of retries, dynamically selecting time points with a higher expected success rate to initiate deductions, thereby improving renewal success rates and revenue recovery opportunities.

Subscription Cycle TypePeriod Count RangeGrace Period Window(Day)Maximum Retry Count
periodUnit=Day (D)1 ≤ periodCount < 711
7 ≤ periodCount < 3053
30 ≤ periodCount < 90105
periodCount ≥ 90156
periodUnit=Week (W)1 ≤ periodCount < 453
4 ≤ periodCount < 12105
periodCount ≥ 12156
periodUnit=Month (M)1 ≤ periodCount < 3105
periodCount ≥ 3156
periodUnit=Year (Y)1 ≤ periodCount ≤ 3156

Example Description:

  • If the subscription cycle is "weekly", the corresponding grace period is 5 days. If the renewal deduction fails, it will enter the grace period for retries. If the deduction succeeds, subsequent deductions will stop and the renewal is successful; if all retries fail, it will enter the deduction failure handling strategy.

3. Renewal Failure Handling Strategy ​

When all retries for a period's bill (including grace period deductions) fail, PayerMax will handle the subscription according to one of the following two strategies. The default is to terminate the subscription:

StrategyDescription
Terminate Subscription (Default)
After the subscription is activated, subsequent deductions are automatically initiated by PayerMax; if a period's deduction still fails after all retries, the subscription plan status changes to TERMINATE, and no further deductions for subsequent cycles will be made.
Deduction Failure Does Not Terminate Subscription
The deduction that could not be completed for that period will no longer be retried, but the subscription status remains ACTIVE; the next period's bill will be generated normally and the deduction will be initiated.
  • If this strategy is needed, log in to the PayerMax Merchant Backend, enter the Subscription Management page, click Rule Settings, and configure the rules.

  • Effective at the merchant number dimension. After configuration is complete, it takes effect immediately for all subscription plans under that merchant number.

4. Special Notes ​

  • Grace Period Deduction Strategy: Determines whether to allow continued retries within the grace period after the current period's deduction fails.

  • Renewal Failure Handling Strategy: Determines whether to terminate the subscription plan when all retry attempts for the current period are exhausted and still unsuccessful.

Merchants can choose to enable one or a combination of both the downgrade retry and grace period deduction strategies according to their own risk control and user experience requirements. For specific configurations, you can also contact the PayerMax technical support team for more information.

Was this page helpful?

Thank you for your help in improving PayerMax Product Docs!

Released under the MIT License.