Skip to content

How to properly handle multiple Base Plans in a single subscription without creating duplicate subscriptions in cordova-plugin-purchase? #1641

Description

@ManYesPop

I have a subscription-based service where the subscription itself grants access to the platform, and the different Base Plans only affect the benefits the user receives.

What I Need to Achieve

  • Ensure that a user can upgrade or downgrade between Base Plans seamlessly.
  • Prevent a user from having two active subscriptions in Google Play (i.e., they should only have one active subscription object).
  • Maintain a single subscription ID with different Base Plans so that Google Play correctly manages transitions.

Questions

  • What is the correct way to register and manage multiple Base Plans under a single subscription in cordova-plugin-purchase?
  • How can I ensure that Google Play does not allow multiple active subscriptions for the same service?
  • Is there a way to detect which Base Plan is currently active using cordova-plugin-purchase?
  • Does cordova-plugin-purchase automatically handle Base Plan transitions, or do I need to implement additional logic to ensure smooth upgrades/downgrades?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions