IAP failure reason

Hi,

Both of the following logs (that come from PurchasingManager.OnPurchaseFailed
in the Unity Purchasing plugin, v4.1.4) contain “Service connection is disconnected”, but one happens with a failure reason of PurchasingUnavailable, and the other as Unknown:

Failure reason: PurchasingUnavailable
: onPurchaseFailedEvent(productId:[removedforthispost] message:Service connection is disconnected.)

Failure reason: Unknown
: onPurchaseFailedEvent(productId:[removedforthispost] message:Service connection is disconnected. {code: -1, M: GPSFTS.HFT})

It looks like they should both be PurchasingUnavailable, is there a reason for the difference in failure reason, or is this a bug?

@saltd The difference in the error reason is likely due to a difference in the way you have reproduced. Be sure to test with multiple tester accounts and is likely the reason for the second error.

I’m seeing this from live data, so it’s hard to know the conditions around each one. The description message both say service connection is disconnected, so I’m assuming the reason the purchase failed is a bad connection? if that’s the case, why is the reason inconsistent? If that’s not the case, why is the description the same?

I would not want to guess without specific steps to reproduce.