Search Unity

iOS - PurchaseFailureReason: Unknown

Discussion in 'Unity IAP' started by LeeJiHoon, May 13, 2018.

  1. LeeJiHoon

    LeeJiHoon

    Joined:
    Aug 4, 2016
    Posts:
    14
    Google Play works very well with the same code.


    There was no problem with the sandbox test.
    It was rejected while it was being reviewed for release.
    I do not know what to do.

    It is my log

    Code (CSharp):
    1.  
    2. 2018-05-13 09:59:10.510704+0900 DC[2143:420409] [DYMTLInitPlatform] platform initialization successful
    3.  
    4. 2018-05-13 09:59:10.556999+0900 DC[2143:420349] UnityIAP UnityEarlyTransactionObserver: Created
    5.  
    6. 2018-05-13 09:59:10.557336+0900 DC[2143:420349] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events
    7.  
    8. PlayerConnection initialized from /var/containers/Bundle/Application/41FF3BF2-434E-4ED1-AF19-4E4C55F0E4D9/DC.app/Data (debug = 0)
    9.  
    10. PlayerConnection initialized network socket : 0.0.0.0 55000
    11.  
    12. Started listening to [0.0.0.0:55000]
    13.  
    14. Player data archive not found at `/var/containers/Bundle/Application/41FF3BF2-434E-4ED1-AF19-4E4C55F0E4D9/DC.app/Data/data.unity3d`, using local filesystem
    15.  
    16. 2018-05-13 09:59:10.941274+0900 DC[2143:420349] Metal GPU Frame Capture Enabled
    17.  
    18. 2018-05-13 09:59:10.942636+0900 DC[2143:420349] Metal API Validation Disabled
    19.  
    20. 2018-05-13 09:59:11.100408+0900 DC[2143:420349] UnityIAP UnityEarlyTransactionObserver: Added to the payment queue
    21.  
    22. 2018-05-13 09:59:11.120686+0900 DC[2143:420349] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
    23.  
    24. 2018-05-13 09:59:11.121986+0900 DC[2143:420349] [MC] Reading from public effective user settings.
    25.  
    26. -> applicationDidBecomeActive()
    27.  
    28. Renderer: PowerVR SGX 543
    29.  
    30. Vendor:   Imagination Technologies
    31.  
    32. Version:  OpenGL ES 2.0 IMGSGX543-129
    33.  
    34. GLES:     2
    35.  
    36. ression_pvrtc
    37.  
    38. OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level  <OpenGL ES 2.0> ; Context handle 109753968
    39.  
    40. Initialize engine version: 2017.1.2p1 (c2ed782bb21e)
    41.  
    42.  
    43. UnityIAP Version: 1.18.0
    44.  
    45. File Path: /var/mobile/Containers/Data/Application/0E90C305-5B32-4B8C-9808-1C1CFBAD9FDF/Documents/Unity/c2d027fe-fffa-4bdd-9727-d5821704ff78/IAP/store.json
    46.  
    47. Fetching optimized store details from https://ecommerce.iap.unity3d.com/catalog?appid=c2d027fe-fffa-4bdd-9727-d5821704ff78&deviceid=EFB68C64-51A4-4896-A3DD-50C687787C3B&userid=dfc45b2a9003e46e1ae76933c493393c
    48.  
    49.  
    50. Failed to fetch IAP catalog due to unexpected http status code, attempting to use cache
    51.  
    52. 2018-05-13 09:59:32.621985+0900 DC[2143:420349] UnityIAP:Requesting 4 products
    53.  
    54. 2018-05-13 09:59:32.666189+0900 DC[2143:420349] UnityIAP:Requesting product data...
    55.  
    56. 2018-05-13 09:59:37.516985+0900 DC[2143:420349] UnityIAP:Received 4 products
    57.  
    58. 2018-05-13 09:59:37.569759+0900 DC[2143:420349] UnityIAP:No App Receipt found
    59.  
    60. 2018-05-13 09:59:37.655530+0900 DC[2143:420349] UnityIAP:No App Receipt found
    61.  
    62. OnInitialized : Success
    63. Price : 3.29 USD
    64.  
    65. Price : 10.99 USD
    66.  
    67. Price : 50.59 USD
    68.  
    69. Price : 5.49 USD
    70.  
    71. UnityIAP: Promo is ready
    72.  
    73. 2018-05-13 09:59:37.668260+0900 DC[2143:420349] UnityIAP:Add transaction observer
    74.  
    75. 2018-05-13 09:59:37.669755+0900 DC[2143:420349] UnityIAP UnityEarlyTransactionObserver: Request to initiate queued payments
    76.  
    77.  
    78. Buy Product : 'ruby300'
    79.  
    80.  
    81. 2018-05-13 09:59:53.219013+0900 DC[2143:420349] UnityIAP:PurchaseProduct: ruby300
    82.  
    83. 2018-05-13 09:59:53.254958+0900 DC[2143:420349] UnityIAP:UpdatedTransactions
    84.  
    85. purchase({0}): ruby300
    86.  
    87. 2018-05-13 09:59:54.873869+0900 DC[2143:420349] UnityIAP:UpdatedTransactions
    88.  
    89. 2018-05-13 09:59:54.874024+0900 DC[2143:420349] UnityIAP:PurchaseFailed: 0
    90.  
    91. onPurchaseFailedEvent({0}): ruby300
    92.  
    93. PurchaseFailureReason: Unknown
    94.  
    95.  
     
    Last edited: May 13, 2018
  2. LeeJiHoon

    LeeJiHoon

    Joined:
    Aug 4, 2016
    Posts:
    14
    I was rejected in an in-app review and my products were inactive. So it looks like a PurchaseFailureReason: Unknown error message.

    I will try again in a few days.