谷歌IAB返回購買錯誤類型=3個子類型=4

[英]Google IAB return purchase error type=3 subtype=4


When I tried to buy all of items, then it returns the message like bellow

當我試圖購買所有的項目時,它會返回像bellow這樣的信息。

"The item you requested is not available for purchase."

“您所要求的商品不能購買。”

And logcat logs.

和logcat日志。

09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.handleError: Error: PurchaseError{type=3 subtype=4} 09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.fail: Purchase failed: PurchaseError{type=3 subtype=4}

D/Finsky(7185): 1個PurchaseFragment。handleError: Error: PurchaseError:類型=3個子類型=4}09-04 10:06:26 .374:D/Finsky(7185): 1 PurchaseFragment。失敗:購買失敗:PurchaseError{類型=3子類型=4}

I guess, purchase error code type 3 is billing api problem

我猜,購買錯誤代碼類型3是計費api問題

BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE 3 Billing API version is not supported for the type requested

對於所請求的類型,不支持BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE 3賬單API版本

But... It is a live app in GooglePlayStore and I could buy an item yesterday. And also it seems that most user can buy items. So I think the hint is subtype=4. But I can't find information about subtypes.

但是…這是GooglePlayStore里的一個實時應用,我昨天就可以買到。而且似乎大多數用戶都能買到東西。提示是subtype=4。但是我找不到關於子類型的信息。

FYI, The application region locked in my country. Is it the problem? But I can't find Google's announcement about it.

順便說一下,申請地區在我的國家。是這個問題嗎?但我找不到谷歌的公告。

5 个解决方案

#1


10  

I have the same error , and fix the problem in this way : In the APK section . Now tester email must be listed as testers in either Alpha or Beta Testing . After add a tester list . the tester need to open the 'Join Test' url , after join the test , I can test the purchase .

我有相同的錯誤,並以這種方式修復問題:在APK部分。現在測試者的電子郵件必須被列為測試者或測試者。添加測試器列表后。測試人員需要打開“Join Test”url,在加入測試后,我可以測試購買。

#2


4  

It looks like Google changed their IAP policies again and now users must be listed as testers in either Alpha or Beta Testing. From there you must opt-in (log in to that Google account and go to the URL for your app in the Google Developer Console). I ran into the same issue and that was their recommendation.

看起來谷歌再次改變了他們的IAP策略,現在用戶必須在Alpha測試或Beta測試中被列為測試人員。從這里開始,您必須選擇進入(登錄到谷歌帳戶,並進入谷歌開發控制台的應用程序URL)。我遇到了同樣的問題,那就是他們的建議。

Since our update things have changed a bit. This account will need to make sure and opt-in to the new testing-link.

自從我們的更新以來,事情發生了一些變化。這個帳戶將需要確保和選擇進入新的測試鏈接。

Just confirmed that this fixed the issue. You must configure Alpha/Beta testers for each app you have in the developer console in order for those users to be able to make test purchases. Hope that helps!

剛剛確認這個問題解決了。為了讓這些用戶能夠進行測試購買,您必須為開發人員控制台中的每個應用程序配置Alpha/Beta測試人員。希望會有幫助!

#3


2  

I have encountered this error response when I published a new alpha/beta version of an app to the developer console, but it hasn't finished processing yet.

當我向開發人員控制台發布一個新的alpha/beta版本的應用程序時,我遇到了這個錯誤響應,但它還沒有完成處理。

Play Store console "Processing Update"

Try again in an hour or so - make sure you have opted in to be an alpha/beta tester and that you can see the appropriate alpha/beta version of the app in the Play Store and it should work.

大約一小時后再試一次——確保你已經選擇了alpha/beta測試版,並且你可以在Play商店中看到相應的alpha/beta版本,它應該可以工作。

#4


1  

In addition to user1454444, make sure you don't have the publisher account on the device either - It was always the case that the publisher account couldn't buy IAPs which meant you couldn't have the main account on the device to be the publisher account, if you were testing.

除了user1454444之外,還要確保你的設備上沒有發布者賬戶——通常情況下,發布者賬戶不能購買IAPs,這意味着如果你在測試,你無法將設備上的主賬戶設為發布者賬戶。

I have recently (like literally over the last weekend) discovered that even having the publisher account on at all - i.e. your main account is not the publisher, but the publisher account is on the device - this will cause a fail in the buying process.

我最近(就像上周末那樣)發現,即使你的發布者賬戶開着——也就是說,你的主賬戶不是發布者,而是發布者賬戶在設備上——這將導致購買過程失敗。

#5


-1  

I suffered with this issue but it solved very simply.
The real problem was "You cannot try billing test with developer account", even that was invited account from project owner. Only, none associated account can be tested for purchasement.

我對這個問題感到痛苦,但它解決得非常簡單。真正的問題是“您不能嘗試使用開發人員帳戶進行計費測試”,即使這是來自項目所有者的邀請帳戶。只有,沒有一個相關的帳戶可以被測試購買。

Here is another checklist I had tried.

這是我試過的另一個清單。

  1. Is Registered in Gameservice -> Test -> tester
  2. 是否在Gameservice ->測試->測試中注冊
  3. Is Registered in Alpha or beta tester at AppVersion->Alpha/Beta Management->Tester

    是否在AppVersion->Alpha/ beta管理->測試中注冊

  4. Are there No developer account in chrome, g-mail, playstore, googlePlay? (Every developer account must be cleaned)

    在chrome, g-mail, playstore, googlePlay中沒有開發者帳戶嗎?(每個開發者帳戶必須被清理)

  5. Is App published? (at lest as close alpha/beta)
  6. 應用程序發布嗎?(最接近)
  7. Did you install app with invitation url?
  8. 你安裝了邀請url的app嗎?
  9. Check base64 key, packagename.
  10. 檢查base64關鍵,packagename。
  11. Is item activated?
  12. 項激活嗎?

注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2015/09/04/72119f8052554da9245657a294a761a2.html



 
粤ICP备14056181号  © 2014-2021 ITdaan.com