콘텐츠로 건너뛰기

Create Android Auto-Renewable Subscription

이 콘텐츠는 아직 귀하의 언어로 제공되지 않습니다.

Auto-renewable subscriptions provide access to content, services, or premium features in your app on an ongoing basis. This guide will help you create and configure subscriptions in Google Play Console.

Overview

Subscriptions automatically renew at the end of each billing period until the user cancels. They’re ideal for:

  • Premium content access
  • Ad-free experiences
  • Cloud storage
  • Ongoing services

Creating a Subscription

  1. Navigate to Subscriptions

    In Google Play Console, select your app and choose Monetize > Subscriptions from the left menu.

    Click the Create subscription button to begin.

    Navigate to subscriptions

  2. Enter Basic Information

    Provide a subscription name and product ID. The product ID is required for configuration in your app and cannot be changed later.

    Enter subscription details

  3. Create Base Plan

    Google Play requires exactly one base plan per subscription. The native-purchases plugin supports only one base plan to maintain compatibility with iOS.

    Click Add base plan to continue.

    Create base plan

  4. Configure Base Plan Details

    Enter:

    • Base plan ID: Unique identifier for this plan
    • Billing period: How often users are charged (weekly, monthly, yearly, etc.)
    • Grace period: Time window during which Google maintains the subscription while retrying payment before cancellation

    Configure base plan

  5. Set Up Pricing

    Access the pricing section and select all countries/regions where you want to offer the subscription.

    Select regions

  6. Configure Price

    Set your base price in your primary currency. Google Play automatically converts this to local currencies.

    Set price

  7. Review Regional Pricing

    Review the automatically converted prices for each country. You can adjust individual prices if needed.

    Review pricing

  8. Save Configuration

    Save your pricing configuration.

    Save pricing

  9. Activate Subscription

    Click the Activate button to make your subscription product live and available for purchase.

    Activate subscription

Important Considerations

Base Plan Limitation

The native-purchases plugin requires exactly one base plan per subscription to ensure consistency with iOS subscription handling. Multiple base plans are not supported.

Grace Period

The grace period allows Google Play to retry failed payments while maintaining the user’s subscription access. Common grace periods are:

  • 3 days for monthly subscriptions
  • 7 days for longer subscriptions

Subscription Status

After creation, your subscription will be in “Draft” status until activated. You can test draft subscriptions in sandbox mode.

Using in Your App

Once created, reference the subscription in your app using the product ID:

import { NativePurchases } from '@capgo/native-purchases';
// Fetch subscription products
const { products } = await NativePurchases.getProducts({
productIdentifiers: ['your_subscription_product_id']
});
// Display to user and handle purchase
const product = products[0];
console.log(`${product.title}: ${product.priceString}`);
// Purchase
const { customerInfo } = await NativePurchases.purchaseProduct({
productIdentifier: 'your_subscription_product_id'
});

Next Steps

Troubleshooting

Subscription not appearing in app:

  • Verify the product ID matches exactly
  • Ensure the subscription is activated
  • Check that your app has the correct package name
  • Wait 2-3 hours after activation for changes to propagate

Base plan errors:

  • Ensure you have exactly one base plan
  • Verify all required fields are filled
  • Check that billing period is valid

Pricing issues:

  • Confirm at least one country is selected
  • Verify base price is greater than minimum allowed
  • Check currency conversion rates are acceptable