Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by yibojiang_tt · Jul 16, 2018 at 07:14 AM · windows store appin app purchase

Unity IAP initialize not work on Windows Store

Hi, I'm new to Unity IAP for Windows Store.

I've followed the setup of the windows store for Unity IAP here https://docs.unity3d.com/Manual/UnityIAPWindowsConfiguration.html.

Everything works fine when I enable local testing. (set useMockBillingSystem = true)

But after I configure on windows store and to test real IAP purchasing, there is an exception when I initialize the Unity IAP in Visual Studio. There are no callbacks for initialized failed or initialize success. I've checked that app and IAPs have completed Certification and are both in the Store status product ids are all correct.

Here is the exception message from VS2018 is: (I build with il2cpp backend)

info: (0x80070002) [WinStoreAuth::AuthenticationInternal::FindCachedStorePrimaryAccount] \winstoreauth.cpp(2128)\Windows.ApplicationModel.Store.dll!00007FFA69732208: (caller: 00007FFA6972B7C9) ReturnHr(21) tid(97e8) 80070002 The system cannot find the file specified. [WinStoreAuth::AuthenticationInternal::FindCachedStorePrimaryAccount] onecore\ds\security\tokenbroker\pluginmgr\lib\plugreg.cpp(223)\Windows.Security.Authentication.Web.Core.dll!00007FFA73EB4A99: (caller: 00007FFA73EB3CCA) ReturnHr(6) tid(69e8) 80090013 Invalid provider specified. Exception thrown at 0x00007FFA9CD7A388 (KernelBase.dll) in RuntimeBroker.exe: 0x40080201: WinRT originate error (parameters: 0x0000000080070057, 0x000000000000002C, 0x0000004DFA5FEEF0). info: (0x80070525) [WinStoreAuth::AuthenticationInternal::CreateGoldenAccountTokenRequest] \winstoreauth.cpp(1588)\Windows.ApplicationModel.Store.dll!00007FFA69732122: (caller: 00007FFA6972B876) ReturnHr(22) tid(97e8) 80070525 The specified account does not exist. [WinStoreAuth::AuthenticationInternal::CreateGoldenAccountTokenRequest] info: (0x80070525) [WinStoreAuth::AuthenticationInternal::CaptureGoldenAccountTicket] \winstoreauth.cpp(2090)\Windows.ApplicationModel.Store.dll!00007FFA69732142: (caller: 00007FFA6972B876) ReturnHr(23) tid(97e8) 80070525 The specified account does not exist. [WinStoreAuth::AuthenticationInternal::CaptureGoldenAccountTicket] info: (0x80070525) [WinStoreAuth::AuthenticationInternal::GetStorePrimaryAccountTicketForUri] \winstoreauth.cpp(305)\Windows.ApplicationModel.Store.dll!00007FFA6972B8B7: (caller: 00007FFA6972B569) ReturnHr(24) tid(97e8) 80070525 The specified account does not exist. [WinStoreAuth::AuthenticationInternal::GetStorePrimaryAccountTicketForUri] Exception thrown at 0x00007FFA9CD7A388 (KernelBase.dll) in RuntimeBroker.exe: 0x40080201: WinRT originate error (parameters: 0x000000008000000E, 0x0000000000000043, 0x0000004DFA4FF060). Exception thrown at 0x00007FFA9CD7A388 (KernelBase.dll) in RuntimeBroker.exe: 0x40080201: WinRT originate error (parameters: 0x000000008000000E, 0x0000000000000043, 0x0000004DFA4FF060). Exception thrown at 0x00007FFA9CD7A388 (KernelBase.dll) in RuntimeBroker.exe: 0x40080201: WinRT originate error (parameters: 0x000000008000000E, 0x0000000000000043, 0x0000004DFA4FF060). :Listing Information (after filtering, CV = dBGgAWGZekuE0xnN.7.2): [DumpListingToDebugger] : AppId: 6EA074E7-0180-460C-B308-21DFFBC079B7, Name: SDK Harness [DumpListingToDebugger] : Description: TP sdk harness app [DumpListingToDebugger] : IsUAP: TRUE, Market: US, Locale: en-US, Age Rating: 0 [DumpListingToDebugger] : Price: 0, Base Price: 0, Currency Symbol: , Currenty Code: USD [DumpListingToDebugger] : IsOnSale: TRUE, Sale End Date: 9998/12/30 00:00:00 [DumpListingToDebugger] : InAppOfferArray: VALID [DumpListingToDebugger] : 00 offerToken = apples_20, productId = 9NHX1PBCHKC8, name = apples 20, price = 0 (0), type = 2, isOnSale = false, tag = [DumpListingToDebugger] : 00 skuType = full, productId = 9NHX1PBCHKC8, title = apples 20, customDeveloperData = , price = 0 (0), extendedData = , description = [DumpListingToDebugger] : 01 offerToken = apples_10, productId = 9P6R2C2WL6G9, name = apples 10, price = 0 (0), type = 2, isOnSale = false, tag = [DumpListingToDebugger] : 00 skuType = full, productId = 9P6R2C2WL6G9, title = apples 10, customDeveloperData = , price = 0 (0), extendedData = , description = [DumpListingToDebugger] : 02 offerToken = apples_30, productId = 9PMJ3LB3HR6X, name = apples 30, price = 0 (0), type = 2, isOnSale = false, tag = [DumpListingToDebugger] : 00 skuType = full, productId = 9PMJ3LB3HR6X, title = apples 30, customDeveloperData = , price = 0 (0), extendedData = , description = [DumpListingToDebugger] info:GetUnfulfilledConsumablesAsync() invoked. [Windows::ApplicationModel::Store::CurrentAppFactory::GetUnfulfilledConsumablesAsync] info: (0x80070002) [WinStoreAuth::AuthenticationInternal::FindCachedStorePrimaryAccount] \winstoreauth.cpp(2128)\Windows.ApplicationModel.Store.dll!00007FFA69732208: (caller: 00007FFA6972B7C9) ReturnHr(25) tid(69e8) 80070002 The system cannot find the file specified. [WinStoreAuth::AuthenticationInternal::FindCachedStorePrimaryAccount] onecore\ds\security\tokenbroker\pluginmgr\lib\plugreg.cpp(223)\Windows.Security.Authentication.Web.Core.dll!00007FFA73EB4A99: (caller: 00007FFA73EB3CCA) ReturnHr(7) tid(61cc) 80090013 Invalid provider specified. Exception thrown at 0x00007FFA9CD7A388 (KernelBase.dll) in RuntimeBroker.exe: 0x40080201: WinRT originate error (parameters: 0x0000000080070057, 0x000000000000002C, 0x0000004DFA2FED80). info: (0x80070525) [WinStoreAuth::AuthenticationInternal::CreateGoldenAccountTokenRequest] \winstoreauth.cpp(1588)\Windows.ApplicationModel.Store.dll!00007FFA69732122: (caller: 00007FFA6972B876) ReturnHr(26) tid(69e8) 80070525 The specified account does not exist. [WinStoreAuth::AuthenticationInternal::CreateGoldenAccountTokenRequest] info: (0x80070525) [WinStoreAuth::AuthenticationInternal::CaptureGoldenAccountTicket] \winstoreauth.cpp(2090)\Windows.ApplicationModel.Store.dll!00007FFA69732142: (caller: 00007FFA6972B876) ReturnHr(27) tid(69e8) 80070525 The specified account does not exist. [WinStoreAuth::AuthenticationInternal::CaptureGoldenAccountTicket] info: (0x80070525) [WinStoreAuth::AuthenticationInternal::GetStorePrimaryAccountTicketForUri] \winstoreauth.cpp(305)\Windows.ApplicationModel.Store.dll!00007FFA6972B8B7: (caller: 00007FFA6972B569) ReturnHr(28) tid(69e8) 80070525 The specified account does not exist. [WinStoreAuth::AuthenticationInternal::GetStorePrimaryAccountTicketForUri] ERROR:ChkHr(AuthenticationInternal::GetStorePrimaryAccountTicket( 0, AuthenticationEndpoint::OneStore, PromptType::Silent, false, nullptr, authTicket.GetAddressOf(), providerType, spWebTokenRequestResult.GetAddressOf())) (0x80070525) [CollectionsServiceProxyV6::GetUnfulfilledConsumables] ERROR:ChkHr(CollectionsServiceProxyV6::GetUnfulfilledConsumables(bigCatId, pCV, items)) (0x80070525) [Windows::ApplicationModel::Store::GetUnfulfilledConsumablesOperationServer::GetUnfulfilledConsumablesSync] ERROR:ChkHr(GetUnfulfilledConsumablesSync( _spStoreCommerceServer->GetAppCatalogId(cv.Get()), cv.Get(), _spStoreCommerceServer->GetProductIdCache(), spUnfulfilledList.Get())) (0x80070525) [Windows::ApplicationModel::Store::GetUnfulfilledConsumablesOperationServer::DoWork] Exception thrown at 0x73B5DB52 in TP Base SDK.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x2067E4E4. Exception thrown at 0x73B5DB52 in TP Base SDK.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x2067D89C. UnityIAPWin8:Building full product list with existing purchases UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(Object) UnityEngine.Purchasing.<>cDisplayClass16_0:b_0() System.Action:Invoke() UnityEngine.Purchasing.Extension.UnityUtil:Update()

Is there anyone has the same issues, Any helps will be appreciated.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

146 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

In app purchases failing to initialize on ios but fine on android 0 Answers

Windows App Certification Kit: Background tasks cancelation handler validation detected the following errors 0 Answers

WINDOWS APP STORE crashed when building a Universal 10 app 0 Answers

Migrating from Windows Standalone to UWP 0 Answers

Does Unity Services store bought items when using IAP? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges