IAP return PurchaseFailureReason Unknown. Android (Google Play)

Yes, exactly.
Bytheway, while I solving some problems after update, I was add iOs Builder module to newest version of Unity, but I don’t realy think it have any metter.

1 Like

Same issue here, Purchase Failure and worst when it has success it is sending a wrong transaction id to our anlytics tools. It was working well some days ago now it is broken. The problem is happening only on Android.

Keep in mind that we now use purchaseToken and not TransactionID as explained in the Release Notes. We will need more information in your particular situation.

What do you mean? Did you change the value of Product.TransactionId to purchaseToken?

So let me try understand your changes, now the Product.TransactionId isn’t the transactionId anymore and we have to check the receipts Unity - Manual: Purchase Receipts now, right ?

You should always check the receipts. And yes, Google has not been consistent, so we started using purchaseToken as the identifier. as mentioned in the release notes Unity IAP package 4.12.2 is now available page-2#post-6434240 . But this may change again, I would hold off until 2.2.6 hopefully next week.

If I understood what you said on the release notes, the necessary changes replaced the order id by the purchase token. So what we have to do now is communicate it to our analytic tools for them adjust their code to accept the purchaseToken as the transaction id like they used to do with the order id, right?

Correct, but as mentioned, you might want to hold off until 2.2.6 is released.

No guys we can’t wait, because our data is being corrupted because of this change, so if you could tell us what will be changed on the 2.2.6 will be great, that way we can make the necessary adjusts to be prepared for that and won’t be on the same situation as now.

You will need to wait, we are still working out the details. If you need to make changes now, use the information presented so far.

Any news @JeffDUnity3D ?

Yes, 2.2.6 was released earlier this week https://discussions.unity.com/t/632966 page-2#post-6745459

Anything we have to be awareness, the release notes is very short.

You mean bugs that we know about but are not sharing? Such issues would be in the release notes. Otherwise you’ll need to be more specific. You’ll want to test with this version, it looks quite stable so far.

1 Like

@JeffDUnity3D I wasn’t saying that you were hiding something man, sorry about it. Anyway, the problem of PurchaseFailureReason Unknown, did you find anything about it? I updated the Unity IAP to the latest version and the problem persists. I don’t want to move from LTS version and I’m still having this issue on Android devices.
The purchases is being validated, and everything seems fine, then after some seconds we receive this error message. I reviewed our implementation and everything looks fine and was working fine two weeks ago.

Can you confirm what Unity version you are using? We have heard of similar reports from other users and I believe they are using Unity 2019, but I’m unable to reproduce. I’m using IAP 2020.1

2019.4.18f1

Please try with Unity 2020.1 if possible. As always before upgrading, make a full project backup first.

Sorry, but move from LTS version isn’t an option. We will have to wait for the fix on the LTS track.

1 Like

It was suggested as a test. We haven’t reproduced and this information would be helpful. Without the information, any update will likely be delayed