Skip to main content
Solved

Generic subscriptions?


Forum|alt.badge.img+1
  • New Member
  • 2 replies

Hi! I am wondering how Twitch does a generatic subsciption IAP. Looks like they have only one subscription “1Sub Token”, but when you try to subscribe to individual users, it displays the username next to the checkout flow. E.g., in the screenshot “Subscription - Asmongold”.

Best answer by cody

Hey @jhk!

Without creating individual products for each individual subscriber, this type of setup isn’t possible without some custom backend logic. Creating individual products quickly becomes burdensome as your app grows.

Instead, apps implementing this type of behavior opt for using consumable `token` in-app products, then build a custom system for spending those tokens on individual subscribers to represent being “subscribed” to a user/creator.

On RevenueCat’s side of things, you can rely on webhooks to get alerted in your backend when a user makes a purchase for a specific product so that you can deposit tokens into a user’s account: https://docs.revenuecat.com/docs/webhooks

View original
Did this post help you find an answer to your question?
This post has been closed for comments

4 replies

Forum|alt.badge.img+1
  • Author
  • New Member
  • 2 replies
  • May 10, 2022

Is this something possible with RC?


cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 501 replies
  • Answer
  • May 11, 2022

Hey @jhk!

Without creating individual products for each individual subscriber, this type of setup isn’t possible without some custom backend logic. Creating individual products quickly becomes burdensome as your app grows.

Instead, apps implementing this type of behavior opt for using consumable `token` in-app products, then build a custom system for spending those tokens on individual subscribers to represent being “subscribed” to a user/creator.

On RevenueCat’s side of things, you can rely on webhooks to get alerted in your backend when a user makes a purchase for a specific product so that you can deposit tokens into a user’s account: https://docs.revenuecat.com/docs/webhooks


Forum|alt.badge.img+1
  • Author
  • New Member
  • 2 replies
  • May 11, 2022

Hi @cody thanks for the response. It does look like Twitch used to use a consumable token but moved away to single subscription. See the text on the native popup “Subscription - Asmongold”. Does this mean they are invidually creating subscribers to all their partners?


Forum|alt.badge.img+7

I am also wondering how twitch does this in their new version. The sub token is pretty straight forward but not autorenewable… It does appear that once you reach some threshold of streaming x minutes you get access to the ability to have subs on your channel, so maybe at that point they are willing to create a whole new group for the user? I think this can be done programatically but you still go through a review process. Can anyone confirm that’s what twitch is doing?


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