Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
Validate.CheckReceipt
Validates the receipt.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Validate | 2.2 | Yes | No | Yes, macOS only | No | No |
MBS( "Validate.CheckReceipt"; ReceiptPath; BundleVersion; BundleID ) More
Parameters
Parameter | Description | Example value |
---|---|---|
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
Created 18th August 2014, last changed 18th August 2014
UserNotification.scheduledNotifications - Validate.Exit
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins