Skip to main content
Question

Flutter - buying yearly and lifetime packages at the same time

  • 16 November 2022
  • 3 replies
  • 183 views

Forum|alt.badge.img+2

Hello,
My app has 2 plans: yearly and lifetime.

I’m trying to understand what happens when:
1. First a user buys the yearly one,
2. Then the user buys the lifetime one.

Will the yearly one be canceled automatically in each platform: Android and iOS?

3 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 328 replies
  • November 16, 2022

Hi @BitSplit,

When a user changes their subscription, it will trigger a product change. On iOS, the change will be handled automatically and the user’s access and any refunds will be handled as well: our docs, Apple’s docs. On Android, you’ll need to pass the upgradeInfo object to either purchaseProduct or purchasePackage; see more here in our docs. 


  • New Member
  • 1 reply
  • November 28, 2024

Hi ​@kaitlin ,

The thing is from what I understand, that there are no “lifetime” option in Apple or Google subscription plan configuration. You have to create a integrated purchase aside. So I don’t think it’s handle automatically by apple either google. Does RC do it by itself if we link those in an offering ? 

 

Thanks


Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 364 replies
  • December 2, 2024

@Xavier RC doesn’t automatically cancel a subscription if a user purchases a different IAP (e.g., lifetime package). For Google, you could use our refund/revoke api endpoint automatically if you detect this purchase flow. For Apple, though, developers aren’t allowed to change a user’s subscription, so you should instead notify your user to cancel their annual subscription if they purchase lifetime as well.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings