Example #1
0
        protected void ValidateReceipt(string receiptId, Roar.Callback <WebObjects.Appstore.BuyResponse> callback)
        {
            WebObjects.Appstore.BuyArguments args = new Roar.WebObjects.Appstore.BuyArguments();
            args.receipt = receiptId;
            args.sandbox = isSandbox;

            actions.buy(args, new OnReceiptValidation(this));
        }
Example #2
0
 public void buy(Roar.WebObjects.Appstore.BuyArguments args, ZWebAPI.Callback <Roar.WebObjects.Appstore.BuyResponse> cb)
 {
     api.MakeCall("appstore/buy", args.ToHashtable(), new CallbackBridge <Roar.WebObjects.Appstore.BuyResponse>(cb, buy_response_parser), true);
 }