Platforms to show: All Mac Windows Linux Cross-Platform

AppReceiptIAPMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class StoreKit MBS MacCloud Plugin 14.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The class to represent an in-app purchase in the app receipt.
// open a receipt
dim f as FolderItem = SpecialFolder.Desktop.Child("receipt")
dim r as AppReceiptMBS = AppReceiptMBS.receiptForFile(f)

// show purchases
dim inAppPurchases() as AppReceiptIAPMBS = r.inAppPurchases
for each p as AppReceiptIAPMBS in inAppPurchases
MsgBox str(p.quantity)+"x "+p.productIdentifier+" "+p.purchaseDate.AbbreviatedDate

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

The items on this page are in the following plugins: MBS MacCloud Plugin.

Application   -   AppReceiptMBS

The biggest plugin in space...