docs.unity3d.com
    目次を表示する/隠す

    Enum PurchaseFailureReason

    The various reasons a purchase can fail.

    Namespace: UnityEngine.Purchasing
    Syntax
    public enum PurchaseFailureReason

    Fields

    Name Description Value
    DuplicateTransaction

    The transaction has already been completed successfully. This error can occur on Apple platforms if the transaction is finished successfully while the user is logged out of the app store, using a receipt generated while the user was logged in.

    ExistingPurchasePending

    Another purchase is already in progress.

    PaymentDeclined

    There was a problem with the payment. This is unique to Apple platforms.

    ProductUnavailable

    The product was reported unavailable by the purchasing system.

    PurchasingUnavailable

    Purchasing may be disabled in security settings.

    SignatureInvalid

    Signature validation of the purchase's receipt failed.

    Unknown

    A catch all for remaining purchase problems. Note: Use Enum.Parse to use this named constant if targeting Unity 5.3 or 5.4. Its value differs for 5.5+ which introduced DuplicateTransaction.

    UserCancelled

    The user opted to cancel rather than proceed with the purchase. This is not specified on platforms that do not distinguish cancellation from other failure (Amazon, Microsoft).

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)