Question

Consumables have "productType": "NON_CONSUMABLE" in purchasePackage

  • 6 January 2023
  • 1 reply
  • 18 views

Badge

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"}}
```


1 reply

Userlevel 1
Badge +4

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.

Reply