[Closed] Unity IAP purchasing failed on Sandbox mode

Unity version : 2017.2.0.p4
xcode version : 9.2
Unity IAP version : 1.14.1
Platform : iOS

Sometimes I get error when I try to purchase item.
and sometimes I don’t get error and succeed to purchase.

I’m testing on sandbox mode.

here is my Xcode Log when failed to purchase.

2017-12-12 03:29:45.091053+0900 SnapFit[429:60164] [IAPManager] : Start Purchasing Product ‘noads’
[IAPManager] : Start Purchasing Product ‘noads’
IAPManager:purchaseProduct(ProductData)
KaturnFramework.Utils.DelayedCaller:OnTime()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-12-12 03:29:45.096774+0900 SnapFit[429:60164] UnityIAP:purchaseProduct: noads
2017-12-12 03:29:45.103974+0900 SnapFit[429:60164] UnityIAP:UpdatedTransactions
2017-12-12 03:29:45.106204+0900 SnapFit[429:60164] purchase({0}): noads
purchase({0}): noads
KaturnFramework.Utils.DelayedCaller:OnTime()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-12-12 03:29:52.586589+0900 SnapFit[429:60336] Info/GA/Analytics: Event queue: No events to send
2017-12-12 03:29:56.058070+0900 SnapFit[429:60333] Could not successfully update network info during initialization.
2017-12-12 03:30:00.620293+0900 SnapFit[429:60333] Info/GA/Analytics: Event queue: No events to send
2017-12-12 03:30:08.653490+0900 SnapFit[429:60333] Info/GA/Analytics: Event queue: No events to send
2017-12-12 03:30:10.836280+0900 SnapFit[429:60461] Could not successfully update network info during initialization.
2017-12-12 03:30:15.136826+0900 SnapFit[429:60164] UnityIAP:UpdatedTransactions
2017-12-12 03:30:15.137104+0900 SnapFit[429:60164] UnityIAP:purchaseFailed: -1005
2017-12-12 03:30:15.149397+0900 SnapFit[429:60164] onPurchaseFailedEvent({0}): noads
onPurchaseFailedEvent({0}): noads
UnityEngine.Purchasing.PurchasingManager:OnPurchaseFailed(PurchaseFailureDescription)
UnityEngine.Purchasing.Extension.UnityUtil:Update()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

2017-12-12 03:30:15.161228+0900 SnapFit[429:60164] [IAPManager] : ‘noads’ Product Purhcase Failed., Reason of ‘Unknown’
2017-12-12 03:30:15.161385+0900 SnapFit[429:60164] IAPManager:OnPurchaseFailed(Product, PurchaseFailureReason)
UnityEngine.Purchasing.Extension.UnityUtil:Update()

[IAPManager] : ‘noads’ Product Purhcase Failed., Reason of ‘Unknown’
IAPManager:OnPurchaseFailed(Product, PurchaseFailureReason)
UnityEngine.Purchasing.Extension.UnityUtil:Update()[/code]

please help me.

This sounds like an issue with the Apple environment, we’ve had a few reports of this. You would not be expected to see this behavior in release. Hopefully Apple can resolve this issue shortly.

same log displayed for me any updates regarding this??

It is certain that this issue is related to the Apple Sandbox Environment.
If you launch your app in the App Store, the issue will disappear.
In addition, the product information may not be received correctly after launch. In this case, it will work normally within 24 hours. Anyway, all you have to do is just wait.