Interestingly, any purchases from Indonesia isn’t accepted. This is an example receipt:
There’s now another purchase from Indonesia and the purchase is pending at the moment. I’m sure, that will be canceled too. Is there anyone having the same issue? How can fix this? (This only happens to Indonesia).
Can it be related to Google Play Billing Library Version 3 and Version 4? As far as I know, Unity IAP is using Version 3.
Do other countries work? Don’t use Codeless IAP, we have heard of this behavior. Use Scripted IAP instead, like in the Sample IAP Project v2 https://discussions.unity.com/t/700293/3
Yes, you need to handle purchaseState = 4, a deferred purchase. This may help https://discussions.unity.com/t/848244/8 . When you see purchaseState = 4, don’t award the product and continue to return Pending from ProcessPurchase until the user finally pays at a Google-approved physical store. When purchaseState = 1, then award the product and return Complete from ProcessPurchase. This is a new purchase type from Google.