- Home /
 
 
               Question by 
               siddharth3322 · Jan 16, 2017 at 01:22 PM · 
                iosiphoneapplesubscription  
              
 
              Subscription Purchase in iOS
My app contains subscription based functionality for purchase. So which way I require to move ahead into this. When I search for this in Google, I always found Consumable and Non-Consumable related product purchase related source code.
I want to move ahead with Renewable Subscription purchase. At present i have Prime31 plugin with following source code written:
 #if UNITY_ANDROID
         var productId = GameConstants.SKU_PURCHASE_9999_COINS;
 ////        var productId = GameConstants.SKU_ANDROID_TEST_PURCHASE;
         #elif UNITY_IOS
         var productId = GameConstants.SKU_PURCHASE_9999_COINS;
         #endif
         IAP.purchaseConsumableProduct (productId,  (didSucceed, error) => {
             Debug.Log ("purchasing product " + productId + " result: " + didSucceed);
             if (didSucceed) {                    
             }                
         });
 
               Whether same code, Can I use for Subscription purchase? What is alternative way for me to implement Subscription purchase?
               Comment
              
 
               
              Your answer