/// <summary> /// Handles the <c>onMarketPurchaseVerifyStarted</c> event, which is fired after a puchase has started /// and the native level is requesting for the client to verify the purchase with the server. /// </summary> /// <param name="message">Contains info for the verification.</param> public void onMarketPurchaseVerifyStarted(string message) { var eventJSON = new JSONObject(message); int transactionId = (int)eventJSON["transactionId"].n; string signature = ""; string receipt = ""; if (eventJSON.HasField("receipt")) { receipt = eventJSON["receipt"].str; } if (eventJSON.HasField("signature")) { signature = eventJSON["signature"].str; } StoreEvents.OnMarketPurchaseVerifyStarted(transactionId, receipt, signature); }