Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Validate.CheckReceipt

Validates the receipt.

Component Version macOS Windows Linux Server iOS SDK
Validate 2.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No

Deprecated

This function was deprecated.

MBS( "Validate.CheckReceipt"; ReceiptPath; BundleVersion; BundleID )   More

Parameters

Parameter Description Example
ReceiptPath The path to your application. MBS( "Validate.FindReceipt" )
BundleVersion The bundle Version of your application. "1.0"
BundleID The bundle ID for your application. "de.monkeybreadsoftware.test"

Result

Returns OK or error code 173.

Description

Validates the receipt.
If you upload your application the Mac App Store, Apple will deliver it with a receipt file included. It is your job to validate this receipt file to avoid unlimited copies of your application. You can pass the path to Apples sample receipt and bundle version "1.0.2" and bundle identifier "com.example.SampleApp" to test with the sample receipt.

Examples

Exist if the receipt is not valid:

MBS( "Validate.Exit"; MBS( "Validate.CheckReceipt"; MBS( "Validate.FindReceipt" ); "1.0"; "de.monkeybreadsoftware.test" ) )

See also

Example Databases

This function is free to use.

Created 18th August 2014, last changed 12nd June 2020


UserNotification.scheduledNotifications - Validate.Exit