コード例 #1
0
ファイル: IAP.cs プロジェクト: cankarakuzulu/PTBTemp
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     if (isDebugging)
     {
         Debug.Log(string.Format("[IAP] Store intialization failed: {0}", error.ToString()));
     }
     listener.OnInitResult(null, false, error.ToString());
 }
コード例 #2
0
 void IStoreListener.OnInitializeFailed(InitializationFailureReason error)
 {
     if (onInitResult != null)
     {
         onInitResult.Invoke(false, error.ToString());
         onInitResult = null;
     }
     Debug.LogError("payment init failed...." + error.ToString());
 }
コード例 #3
0
        private void OnInitializeFailed(InitializationFailureReason reason)
        {
            if (log != null)
            {
                log.text = reason.ToString();
            }

            UserEventsTracker.TrackEvent("Purchase screen. OnInitializeFailed:" + reason.ToString());

            purchaseButton.interactable = false;
        }
コード例 #4
0
        public void OnInitializeFailed(InitializationFailureReason error)
        {
            // Purchasing set-up has not succeeded. Check error for reason. Consider sharing this reason with the user.
            Debug.Log("OnInitializeFailed InitializationFailureReason:" + error);

            switch (error)
            {
            case InitializationFailureReason.AppNotKnown:
                Debug.LogError("AppNotKnown: Is your App correctly uploaded on the relevant publisher console?");
                break;

            case InitializationFailureReason.PurchasingUnavailable:
                // Ask the user if billing is disabled in device settings.
                Debug.Log("PurchasingUnavailable: Billing disabled!");
                break;

            case InitializationFailureReason.NoProductsAvailable:
                // Developer configuration error; check product metadata.
                Debug.Log("NoProductsAvailable: No products available for purchase!");
                break;
            }

            if (OnIAPInitializeFailed != null)
            {
                OnIAPInitializeFailed(error.ToString());
            }
        }
コード例 #5
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     if (null != OnPurchaseNotSupported)
     {
         OnPurchaseNotSupported(this, new ErrorEventArgs(error.ToString()));
     }
 }
コード例 #6
0
ファイル: IAP.cs プロジェクト: srob7556/UnityGame
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     // Purchasing set-up has not succeeded. Check error for reason. Consider sharing this reason with the user.
     Debug.Log("OnInitializeFailed InitializationFailureReason:" + error);
     purchaseFailed.SetActive(true);
     failInformation.text = "Initialization failed: " + error.ToString();
 }
コード例 #7
0
 /// <summary>
 /// IStoreListener event handler called when initialization fails
 /// </summary>
 /// <param name="error"></param>
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     if (debug)
     {
         Debug.Log("OnInitializeFailed");
         ScreenWriter.Write("OnInitializeFailed");
     }
     OnInitComplete(IAPOperationStatus.Fail, error.ToString(), null);
 }
コード例 #8
0
        public void OnInitializeFailed(InitializationFailureReason error)
        {
            _logToDebugOutput("OnInitializeFailed()");
            _logToDebugOutput(string.Format("error: {0}", error.ToString()));

            if (OnInitializationFailedEventHandler != null)
            {
                OnInitializationFailedEventHandler();
            }
        }
コード例 #9
0
    public void OnInitializeFailed(InitializationFailureReason reason)
    {
        Debug.LogError(GetType().Name + " OnInitializeFailed() : " + reason);

        _isInitialized = false;

        if (handleInitialize != null)
        {
            handleInitialize(_isInitialized, reason.ToString());
        }
    }
コード例 #10
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debug.Log("IAP init failed: " + error.ToString());
     RefreshButtons();
 }
コード例 #11
0
ファイル: IAPController.cs プロジェクト: mkemalgokce/ExpWords
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     print("Hata oluştu ..." + error.ToString());
 }
コード例 #12
0
 /// <summary>
 /// Called when Unity IAP encounters an unrecoverable initialization error.
 ///
 /// Note that this will not be called if Internet is unavailable; Unity IAP
 /// will attempt initialization until it becomes available.
 /// </summary>
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     isInitFailed = true;
     Debug.LogError("IAP Initialize Failed: " + error.ToString());
 }
 public PurchasingInitializationException(InitializationFailureReason failureReason, Exception innerException)
     : base(failureReason.ToString(), innerException)
 {
     this.FailureReason = failureReason;
 }
コード例 #14
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     _OnInitFinished(false, error.ToString());
 }
コード例 #15
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     SimpleDialog.Show("ストアの初期化に失敗しました。\nReasion:" + error.ToString());
     Debug.LogError("Store Initialize Failed.");
     Debug.LogError("Reason:" + error.ToString());
 }
コード例 #16
0
ファイル: IAPController.cs プロジェクト: hostrings/LudoOnline
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debug.Log("IAP Initizalization FAILED!! " + error.ToString());
 }
コード例 #17
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     // Purchasing set-up has not succeeded. Check error for reason. Consider sharing this reason with the user.
     Debug.Log("OnInitializeFailed InitializationFailureReason:" + error);
     ShowMessage("Purchasing set-up failed: " + error.ToString());
 }
コード例 #18
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debug.LogError("IAP OnInitializeFailed error:" + error.ToString());
 }
コード例 #19
0
    public void OnInitializeFailed(InitializationFailureReason error)
    {
#if DEBUG_MY_IAP || UNITY_EDITOR
        Debug.Log(string.Format("[" + typeof(MyIAPManager).Name + "] OnInitializeFailed(): error=", error.ToString()));
#endif

        if (mOnInitializationFailureCallback != null)
        {
            mOnInitializationFailureCallback(error);
            mOnInitializationFailureCallback = null;
        }
    }
コード例 #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StoreInitializeException"/> class.
 /// </summary>
 public StoreInitializeException(InitializationFailureReason reason)
     : base(reason.ToString())
 {
     Reason = reason;
 }
コード例 #21
0
 public void OnInitializeFailed(InitializationFailureReason failureReason)
 {
     Debug.Log(failureReason.ToString());
 }
コード例 #22
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debug.Log("Error" + error.ToString());
 }
コード例 #23
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     _client._exception = new BadGatewayException(error.ToString());
     _client._status    = Status.InitializeFailed;
 }
コード例 #24
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debugger.Log("支付 OnInitializedFailed " + error.ToString());
 }
コード例 #25
0
        public void OnInitializeFailed (InitializationFailureReason error) {
            Debug.Log("OnInitializeFailed: " + error.ToString());

            if (OnInitializeFailedEvent != null) OnInitializeFailedEvent(error);
        }
コード例 #26
0
ファイル: InAppPurchasing.cs プロジェクト: fanhexin/EasyIap
 void IStoreListener.OnInitializeFailed(InitializationFailureReason error)
 {
     _initTcs?.TrySetResult(error.ToString());
     _initTcs = null;
 }
コード例 #27
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debug.LogError(string.Format("Purchasing failed to initialize. Reason: {0}", error.ToString()));
 }
コード例 #28
0
 public void OnInitializeFailed(InitializationFailureReason error)
 {
     Debug.LogError(string.Format("Purchasing failed to initialize. Reason: {0}", error.ToString()));
     foreach (var button in activeButtons)
     {
         button.NotInit(false);
     }
 }