Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

AppReceiptIAPMBS.cancellationDate as Date
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: For a transaction that was canceled by Apple customer support, the date of the cancellation.
Notes: (Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.originalPurchaseDate as Date
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: For a transaction that restores a previous transaction, the date of the original transaction.
Notes:
This value corresponds to the original transaction's transactionDate property.
In an auto-renewable subscription receipt, this indicates the beginning of the subscription period, even if the subscription has been renewed.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.originalTransactionIdentifier as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: For a transaction that restores a previous transaction, the transaction identifier of the original transaction.
Notes:
Otherwise, identical to the transaction identifier.
This value corresponds to the original transaction's transactionIdentifier property.
All receipts in a chain of renewals for an auto-renewable subscription have the same value for this field.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.productIdentifier as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The product identifier of the item that was purchased.
Example:
// 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
next
Notes:
This value corresponds to the productIdentifier property of the SKPayment object stored in the transaction’s payment property.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.purchaseDate as Date
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The date and time that the item was purchased.
Notes:
This value corresponds to the transaction’s transactionDate property.

For a transaction that restores a previous transaction, the purchase date is the date of the restoration. Use originalPurchaseDate to get the date of the original transaction.

In an auto-renewable subscription receipt, this is always the date when the subscription was purchased or renewed, regardles of whether the transaction has been restored.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.quantity as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The number of items purchased.
Example:
// 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
next
Notes:
This value corresponds to the quantity property of the SKPayment object stored in the transaction’s payment property.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.subscriptionExpirationDate as Date
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The expiration date for the subscription.
Notes:
Only present for auto-renewable subscription receipts.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.transactionIdentifier as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The transaction identifier of the item that was purchased.
Notes:
This value corresponds to the transaction's transactionIdentifier property.
(Read only property)

Feedback, Comments & Corrections

AppReceiptIAPMBS.webOrderLineItemID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property StoreKit MBS MacCloud Plugin 14.3 Yes No No Yes, macOS only No
Function: The primary key for identifying subscription purchases.
Notes: (Read only property)

Feedback, Comments & Corrections

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




Links
MBS FileMaker Plugins