Skip to main content
Purchase & Billing

Renewal Guide

Configure enterprise subscription renewal by purchase channel and understand the differences between marketplace Enterprise and Teams plans.

This page explains renewal for Qoder Global enterprise subscriptions. Check your organization’s purchase channel and plan before choosing the relevant procedure.

Organizations that purchased on the official website

For organizations that purchased on the official website, admins can go to Subscription & Billing > Enable auto-renewal. Once enabled, the default payment method will be charged automatically at the end of each cycle.

Enterprise organizations that purchased through the cloud marketplace

For organizations that purchased through the cloud marketplace, only Enterprise plans support auto-renewal. Use the purchasing Alibaba Cloud account to go to the corresponding Service Details > Enable auto-renewal in the cloud marketplace. Once enabled, the payment method configured in the Alibaba Cloud account will be charged automatically at the end of each cycle. See Auto-renewal for details.

Cloud marketplace auto-repurchase

Available only to Qoder Teams and Enterprise organizations that purchased through Alibaba Cloud Marketplace or Alibaba Cloud International Marketplace.
Auto-repurchase automatically places an order in Alibaba Cloud Marketplace to replenish resources when your remaining balance is low, so you don't need to purchase manually. Charges are paid by your Alibaba Cloud account, and orders appear as new purchases in the marketplace order list. Auto-repurchase places orders for resources based on the remaining-balance rules you configure, whereas the auto-renewal described above extends the subscription term. The two are different.

1. Open the configuration page

In Qoder, go to Subscription & Billing, find Auto-repurchase, and select Configure now.

2. Copy the ExternalId and select a marketplace site

  • Qoder generates a read-only ExternalId. Select Copy and keep this value for the RAM role trust policy, which uses it to validate the authorization request.
  • Select the marketplace site where you purchased Qoder: Alibaba Cloud Marketplace or Alibaba Cloud International Marketplace. Their trust policies differ, so select the site before configuring the policy.
You can bind only one marketplace site at a time, which means resources are automatically repurchased from that site only.

3. Create a RAM role and configure its trust policy

  1. Sign in to the RAM console with the Alibaba Cloud account for the selected marketplace site. Create a RAM role and choose Cloud Account as the principal type.
    Create a role in the RAM console
    Select Cloud Account as the principal type
    For the principal name, select Other Account and enter the Qoder system account ID:
    • If you selected Alibaba Cloud Marketplace, enter account ID 1068664141553696.
    • If you selected Alibaba Cloud International Marketplace, enter account ID 5055667143992034.
  2. Configure the trust policy to allow the Qoder account for that site to assume the role. Set sts:ExternalId to the value copied from Qoder.
    Configure the RAM role trust policy and ExternalId
The following examples show the trust policy for each site. Replace <EXTERNAL_ID_FROM_QODER> with the value generated on the Qoder page. Do not submit the placeholder or reuse the other site's policy.
  • Alibaba Cloud Marketplace:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "RAM": [
          "acs:ram::1068664141553696:user/qoder-marketplace-auto-repurchase"
        ]
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "<EXTERNAL_ID_FROM_QODER>"
        }
      }
    }
  ]
}
  • Alibaba Cloud International Marketplace:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "RAM": [
          "acs:ram::5055667143992034:user/qoder-marketplace-auto-repurchase"
        ]
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "<EXTERNAL_ID_FROM_QODER>"
        }
      }
    }
  ]
}

4. Create and grant order-placement permission

Create a custom permission policy with the following content:
Create a permission policy in the RAM console
Edit the marketplace order-placement policy
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "acm:CreateOrder",
      "Resource": "*"
    }
  ]
}
Attach this policy to the RAM role you just created. Then copy the role ARN from its details page. Its format is acs:ram::<ALIBABA_CLOUD_ACCOUNT_ID>:role/<ROLE_NAME>.
Attach the marketplace order-placement policy to the RAM role
This policy grants only the marketplace order-placement action acm:CreateOrder. It does not grant permission to read business data or operate other cloud products. You can revoke authorization by removing the policy assignment or deleting the role in the RAM console.

5. Enter the ARN, test, and save authorization

  1. Return to Qoder, paste the role ARN, and select the authorization declaration. Test authorization connection is unavailable until you select the declaration.
  2. Select Test authorization connection. Qoder uses the role and validates the product configuration.
  3. After the test passes, the button changes to Save authorization. Select it to make the authorization effective.
Changing the ARN, clearing the authorization declaration, or switching sites invalidates the successful test result. Run the test again after any of these changes.

6. Configure repurchase rules

Saving authorization unlocks the repurchase rules. Each resource type has its own rule and independent switch:
Resource typeCredits per packMinimum quantity
Shared Add-on Credits3,000 Credits1 pack
Service Account Dedicated Credits15,000 Credits1 pack
A rule purchases the selected pack specification and quantity when the remaining balance falls below the selected threshold.
  • Threshold: 0, 500, or 1,000 Credits.
  • Purchase quantity: 1–99. The total purchase amount is displayed on the right and updates as you change the configuration.
  • Enable the rule: Turn on its switch on the right. The rule takes effect immediately.
Allow a balance buffer when choosing a threshold because there is a delay between triggering a purchase and receiving the resources.

Edit or disable auto-repurchase

ActionProcedure and effect
Edit authorizationSelect Edit in the authorization summary. Test and save again for the changes to take effect.
Switch marketplace sitesCreate a new role under the Alibaba Cloud account for the new site and configure that site's trust policy. The previous role cannot be reused. Testing and saving the new authorization invalidates the previous site's authorization.
Disable all auto-repurchaseSelect Disable auto-repurchase in the authorization summary and confirm. All rules stop. Enabling the feature again requires completing configuration again. The RAM role in Alibaba Cloud is not deleted automatically.
Revoke authorization completelyDisable auto-repurchase in Qoder and delete the role in the Alibaba Cloud RAM console.

Frequently asked questions

Can I enable auto-repurchase for only one resource type? Yes. Shared Add-on Credits and Service Account Dedicated Credits have independent rule switches. Can I bind both marketplace sites if I have purchased from both? No. You can bind only one marketplace site. Resources from the other site are not automatically replenished. Where can I view automatically placed orders? Open the marketplace order list for the Alibaba Cloud account that pays the charges. These orders appear as new purchases, just like manual purchases.

Teams organizations that purchased through the cloud marketplace

Teams uses a seat-month balance. When the balance is insufficient, purchase additional Teams seat-month products through the cloud marketplace. Recurring member charges are deducted from the organization’s balance. See About Redemption Codes for the detailed rules.

Renewal versus seat adjustments

For time-based subscriptions, renewal extends the subscription term without changing seats or specifications. Upgrades and downgrades change seats or specifications without changing the subscription term. See Subscription Adjustment Rules for fee calculations.