Example #1
0
    private void SubmitReceipt()
    {
        ConfirmApplePurchaseRequestParameter request = new ConfirmApplePurchaseRequestParameter();

        request.Receipt = this.m_Receipt;
        CommunicationUtility.Instance.ConfirmApplePurchase(request, this.ShopModule, "ReceivedConfirmResponse", true);
    }
 public void ConfirmApplePurchase(ConfirmApplePurchaseRequestParameter parameter, Component receiver, string methodName, bool isListenOnce)
 {
     this.CommunicateWithServer(receiver, methodName, isListenOnce, parameter.GetHashtableFromParameter(),
                                ClientCommandConsts.CONFIRM_APPLE_PURCHASE_COMMAND, ServerCommandConsts.CONFIRM_APPLE_PURCHASE_RESPONSE);
 }