Configuration Change/Upgrade or Downgrade
During the use of Surfercloud products, you can upgrade or downgrade resources according to actual needs. Here, Host is used as an example.
The rules for additional payment or refund during configuration change operations are as follows:
After the configuration change operation, the product's expiration date remains unchanged, and the additional payment or refund amount is calculated based on the remaining service period. The value of the remaining period of the original service minus the value of the new configuration for the same period. If it is greater than 0, the remaining amount will be refunded to your account after the change, and if it is less than 0, you need to pay the corresponding amount to pay for the configuration change order.
Example 1: You purchase a specified configuration UHost for 30 days, worth 120 . After using it for 10 days, you need to upgrade to a new configuration UHost, which is worth 240 for 30 days.
The additional payment amount required for your configuration change = new configuration value × (remaining time ÷ original service duration) - original configuration value × (remaining time ÷ original service time) = 240 × (20 days ÷ 30 days) - 120 × (20 days ÷ 30 days) = 80
Example 2: You purchase a specified configuration UHost for 30 days, worth 240 . After using it for 10 days, you need to downgrade to a new configuration UHost, which is worth 120 for 30 days.
The refundable amount for your configuration change = original configuration value × (remaining time ÷ original service duration) - new configuration value × (remaining time ÷ original service time) = 240 × (20 days ÷ 30 days) - 120 × (20 days ÷ 30 days) = 80
Upgrade and downgrade refund formula.
Step | Explanation of Terms (All times are in seconds) |
---|---|
Step 1: A = Time Used ÷ Time Purchased | Time Used: Current time minus the order start time |
Step 2: B = Money Spent × A | Time Purchased: From order start time to order end time |
Step 3: C = Time After Change ÷ Time Purchased | Money Spent: The amount paid for the order |
Step 4: D = Money Needed Now × C | Time After Change: From current time to the original order end time |
Step 5: Refund Amount = Money Spent - (B + D) | Money Needed Now: The payment amount obtained according to the current configuration and payment method (duration) |