Hi,

So far I have used the code below for checking the App Store receipt. It uses 
'CertTools' that comes with MacOSLib. It is very easy BUT it now crashes.

This is the code:

    
      Dim f as FolderItem = App.ExecutableFile.Parent.Parent.Child( 
"_MASReceipt" ).Child( "receipt" )
      
      If CertTools.IsValid( CertTools.DeviceGUID, CertTools.ReadReceipt(f), 
kAppBundle ) then
      
        // Validation successful
        
      else
        
        // Let OS X acquire a valid receipt, provided the user has purchased 
this app
        declare sub exit_ lib "System" alias "exit" (code as Integer)
        exit_ (173)
        
      end
      
   
Is there something equivalent in MBS? I have seen the MBS 'Verify App Receipt 
and In-App Purchases' example but I really don't know where to start and if it 
even the right example to look at.

Any idea? Thanks


— 
Stan Busk - Software Engineer
at Max Programming, S.L.U.
https://www.maxprog.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to