Solved

Consumables have "productType": "NON_CONSUMABLE" in purchasePackage

  • 6 January 2023
  • 4 replies
  • 137 views

Badge +3

Hi,

why do my 2 consumables have "productType": "NON_CONSUMABLE" in purchasePackage?

I set them up as consumables on the App Store, see here: https://prnt.sc/4JCY6Huohfkc

But this is what I log:

```` LOG  PurchaseTemplate.js: purchasePackage {"identifier": "onDemand Session", "offeringIdentifier": "default", "packageType": "CUSTOM", "product": {"currencyCode": "EUR", "description": "Buy once and keep forever", "discounts": [], "identifier": "SMED_S_1_E", "introPrice": null, "price": 0.99, "priceString": "€0,99", "productCategory": "NON_SUBSCRIPTION", "productType": "NON_CONSUMABLE", "title": "1 Extra Session"}}
 LOG  PurchaseTemplate.js: purchasePackage {"identifier": "10 Extra Sessions", "offeringIdentifier": "default", "packageType": "CUSTOM", "product": {"currencyCode": "EUR", "description": "Buy once and keep forever", "discounts": [], "identifier": "SMED_S_10_E", "introPrice": null, "price": 7.99, "priceString": "€7,99", "productCategory": "NON_SUBSCRIPTION", "productType": "NON_CONSUMABLE", "title": "10 Extra Sessions"}}
```

icon

Best answer by Michael Fogel 10 January 2023, 19:25

View original

4 replies

Userlevel 4
Badge +6

Hey There! 
 

Is the SDK configured to use SK1 or SK2? The reason I ask is because the productType in StoreProducts cannot determine the type using Storekit1, so this could be inaccurate based on that.

@Michael Fogel  Facing same problem…  I am new with the revenue cat ...Please let me know What to do?

testing on iOS version 16.5

Badge

Any solution, i’m also getting this same issue 👇

I set the product type as “Consumable” in App Store Connect. But after calling the product details via RevenueCat library i see it shows product type as “Non-Consumable”. Why?

@Michael Fogel I’m getting this issue as well. Configured as consumable, comes out as non-consumable.

Reply