Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

AppReceiptIAPMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: 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
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples which use this class:

Blog Entries

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

Application   -   AppReceiptMBS

The biggest plugin in space...

MBS Xojo Plugins