PayerMax Manage Subscription Plans
1. Interaction Process
2. Subscription Plan Rules
PayerMax Subscription Plan service provides merchants with a flexible periodic payment deduction solution. It supports various subscription models to meet the needs of different business scenarios.
2.1 Supported Subscription Types
Standard Subscription: An automatic payment deduction service at fixed intervals.
Trial Subscription: A service that offers a free trial period before converting to a paid subscription.
Promotional Period Subscription: A service where the initial periods are offered at a discounted price.
2.2 Service Limitation Descriptions
Special Reminder:
The total duration of a single subscription plan managed by PayerMax must not exceed 3 years.
Subscription plans must be activated within the specified time frame. The specific requirements are as follows:
The subscription plan must be activated before the first payment deduction is scheduled to start.
If the interval between the first payment deduction time and the subscription creation time exceeds
24 hours, the plan must be activated within24 hoursafter creation.Subscription plans not activated within the specified time will be marked by the system as
Expired - Not Activated, and PayerMax will send an expiration notification to the merchant.
2.3 Payment Deduction and Notification Rules
2.3.1 Payment Deduction Result Notification Rules
| Deduction Result | Notification Timing | Description |
|---|---|---|
| Payment Success | Immediate Notification | Upon successful payment, the system immediately sends a notification to the merchant. |
| Payment Failure | Delayed Notification | A notification is sent to the merchant only after the final deduction attempt for that period has failed. |
2.3.2 Payment Failure Retry Mechanism
When a payment deduction fails, PayerMax automatically executes a retry mechanism:
The system will not send failure notifications to the merchant during the retry period to avoid frequent notifications impacting the merchant's system.
The retry strategy is executed automatically based on the merchant's configured deduction strategy (default strategy / early payment strategy / grace period strategy).
A final failure notification is sent only after all retry attempts have failed.
2.4 Payment Failure Handling Strategies
2.4.1 Default Handling Strategy
Strategy Description:
After the subscription is activated, subsequent payments are automatically initiated by the PayerMax system. If a payment fails, the system retries 3 times per day. If the payment still fails on the last attempt of the last day of the period, the subscription plan is automatically terminated.
2.4.2 Non-Termination on Payment Failure Strategy
Strategy Description:
If the final retry attempt for a period fails, the subscription plan does not terminate. The subscription status remains active. Payment for that period cannot continue, but when the next period begins, the system will initiate payments normally.
Configuration Method:
This strategy requires configuration by contacting the PayerMax technical support team. The configuration takes effect at the merchant account level. Once configured, it applies immediately to all subscription plans under that merchant account.
2.5 Payment Timing Strategies
Special Reminder:
The early payment strategy and the grace period payment strategy cannot be configured simultaneously for the same merchant account. Merchants must choose one strategy based on their business needs.
2.5.1 Default Payment Strategy
Execution Process:
The system generates the next period's payment invoice
1 day in advance.The payment deduction is initiated immediately after the invoice is generated.
If the payment fails, the system retries
3 timesper day.If all
3retry attempts fail, the merchant's configured payment failure handling strategy is executed.
2.5.2 Early Payment Strategy
Strategy Description:
The early payment strategy allows merchants to initiate payment several days before the end of a subscription period, providing users with more ample time to prepare funds.
Configuration Method:
Method 1: Single-time Configuration (Per Subscription)
Specify the number of early payment days using the advanceDays parameter when creating the subscription.
Advantage: High flexibility, configurable for individual subscriptions.
Disadvantage: Requires manual specification each time, resulting in higher management overhead.
Method 2: Unified Configuration (Recommended)
Contact the PayerMax technical support team for unified configuration. The advanceDays parameter does not need to be specified when creating subscriptions.
Configuration Level: Applied at the merchant account level.
Effective Timing: Takes effect when generating the next period's payment invoice after configuration is complete.
Early Payment Days Configuration Rules:
| Subscription Period Type | Period Count Range | Allowed Early Payment Days |
|---|---|---|
| periodUnit=Day(D) | 1 ≤ periodCount < 7 | Early payment not supported |
| 7 ≤ periodCount < 30 | 1-2 days | |
| 30 ≤ periodCount < 90 | 1-5 days | |
| periodCount ≥ 90 | 1-7 days | |
| periodUnit=Week(W) | 1 ≤ periodCount < 4 | 1-2 days |
| 4 ≤ periodCount < 12 | 1-5 days | |
| periodCount ≥ 12 | 1-7 days | |
| periodUnit=Month(M) | 1 ≤ periodCount < 3 | 1-5 days |
| periodCount ≥ 3 | 1-7 days | |
| periodUnit=Year(Y) | 1 ≤ periodCount ≤ 3 | 1-7 days |
Configuration Examples:
Example 1: Subscription period is
every 7 days, early payment can be configured for1-2 days.Example 2: Subscription period is
every 3 months, early payment can be configured for1-7 days.
2.5.3 Grace Period Payment Strategy
Strategy Description:
The grace period payment strategy refers to the system continuing to attempt payment during a grace period after a normal payment failure. This provides users with an additional payment window, preventing immediate subscription termination due to short-term financial issues.
Configuration Method:
Contact the PayerMax technical support team for configuration.
- Configuration Level: Applied at the merchant account level.
- Effective Timing: Takes effect when generating the next period's payment invoice after configuration is complete.
Execution Process:
The system generates the payment invoice and initiates the deduction
1 day in advance.If the payment fails, the system retries
3 timesper day.If all
3retry attempts fail, the subscription enters the grace period.During the grace period, the system performs
1deduction attempt on each specified date.If any deduction is successful during the grace period, subsequent attempts are stopped.
If the deduction fails on the last day of the grace period, the merchant's configured payment failure handling strategy is executed.
Grace Period Deduction Date Rules:
| Subscription Period Type | Period Count Range | Deductible Dates in Grace Period |
|---|---|---|
| periodUnit=Day(D) | 1 ≤ periodCount < 7 | Day 1 |
| 7 ≤ periodCount < 30 | Days 1, 2, 5 | |
| 30 ≤ periodCount < 90 | Days 1, 2, 5, 7, 10 | |
| periodCount ≥ 90 | Days 1, 2, 5, 7, 10, 15 | |
| periodUnit=Week(W) | 1 ≤ periodCount < 4 | Days 1, 2, 5 |
| 4 ≤ periodCount < 12 | Days 1, 2, 5, 7, 10 | |
| periodCount ≥ 12 | Days 1, 2, 5, 7, 10, 15 | |
| periodUnit=Month(M) | 1 ≤ periodCount < 3 | Days 1, 2, 5, 7, 10 |
| periodCount ≥ 3 | Days 1, 2, 5, 7, 10, 15 | |
| periodUnit=Year(Y) | 1 ≤ periodCount ≤ 3 | Days 1, 2, 5, 7, 10, 15 |
Configuration Examples:
Example 1: Subscription period is
every 7 days, configured with a5-daygrace period.- After normal payment failure, the system performs
1deduction attempt onDay 1,Day 2, andDay 5after the period starts. - If any deduction is successful during this time, subsequent attempts are stopped.
- If all grace period deductions fail, the payment failure handling strategy is executed.
- After normal payment failure, the system performs
Example 2: Subscription period is
every 3 months, configured with a15-daygrace period.- After normal payment failure, the system performs
1deduction attempt onDay 1,Day 2,Day 5,Day 7,Day 10, andDay 15after the period starts. - If any deduction is successful during this time, subsequent attempts are stopped.
- If all grace period deductions fail, the payment failure handling strategy is executed.
- After normal payment failure, the system performs
2.6 Strategy Configuration Instructions
2.6.1 Configuration Level
All payment strategy configurations are applied at the merchant account level. Once configured, they take effect for subscription plans under that merchant account.
2.6.2 Configuration Effective Timing
| Strategy Type | Effective Timing |
|---|---|
| Payment Failure Handling Strategy | Takes effect immediately for all subscription plans after configuration. |
| Early Payment Strategy | Takes effect when generating the next period's payment invoice after configuration is complete. |
| Grace Period Payment Strategy | Takes effect when generating the next period's payment invoice after configuration is complete. |
3. Subscription Plan Status
| Status Value | Status Description | Remarks |
| INACTIVE | Inactive | After creating a subscription plan, the status is Inactive |
| ACTIVE_FAILED | Activation Failed | Status after failed activation |
| ACTIVE | Effective | Status after successful activation |
| TER MINATE | Subscription Termination | If a payment for a certain period fails, the subscription plan will be terminated |
| CANCEL | Subscription Cancellation | Actively cancel the subscription plan |
| FINISH | Subscription Completion | All subscription periods have been deducted |
| EXPIRED | Expired and Not Activated | The subscription plan has not been activated after the first payment period has started |
4. Subscription Deduction Status
| Status Value | Status Description |
| PENDING | Debit in Progress |
| SUCCESS | Debit Successful |
| FAILED | Debit Failed |
