Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by thevinh1210 · Mar 04, 2014 at 05:26 AM · iosu3dxtappstoreitunesin-app purchase

U3DXT in-app purchase Init failed and everything is setup!

Hi, every one! I can't get the IAP example scene to work. I followed you tutorial video on the subject and it was all very straight forward. But now I get the InitializationFailed error.

I've also made it log the e.error.LocalizedDescription() and it will say: Cannot connect to iTunes Store.

My contracts are in order and the iaps are setup correctly in iTunes connect.

I have read this topic: U3DXT Init failed...

But as i say, i setup everything in itunes connect correctly!

Comment
Add comment · Show 1
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
avatar image vinhnhon · Mar 04, 2014 at 05:15 PM 0
Share

And sometimes when i log the e.error.LocalizedDescription(), i get a crash! So i someone used U3DXT before, please let me know if i can make mistake in some code or setup? Thanks! and sorry for my bad english !

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by thevinh1210 · Mar 11, 2014 at 05:48 AM

I found the problem. We HAVE TO SETUP BANK INFO AND TAX INFO even for testing! Thank u3dxt for all of your helps!

Comment
Add comment · Show 1 · Share
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
avatar image u3dxt · Mar 11, 2014 at 03:57 PM 0
Share

Looks like Apple has tightened the process. Thanks for sharing your answer; sure will help someone out later on.

avatar image
0

Answer by u3dxt · Mar 04, 2014 at 05:18 PM

Hi, a few gotchas that might give you this error:

  • Does the app bundle ID match the one you have in iTunesConnect?

  • If you are using an existing app ID that you have live on the store and have downloaded it from the App Store, make sure to manually delete the app first.

  • If you are using Assets/U3DXT/Examples/iap/IAPTest, make sure to change the product IDs in the scene and not just the cs file.

  • Before launching your app, go to the Settings app on your device, scroll down to iTunes & App Store, and sign out of your regular iTunes account. You need to sign in to your sandbox test account in your app.

  • Last and most obvious, does your device have internet connection?

Hope one of this helps.

Comment
Add comment · Show 8 · Share
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
avatar image thevinh1210 · Mar 05, 2014 at 02:02 AM 0
Share

Thanks for reply! I used Assets/U3DXT/Examples/iap/IAPTes, and change both the product IDs in the scene and the cs file as you said. And, yes, i did all the things you said. Is there anything special that i have to do with iTunesConnect? I created a new app and then created 3 in-app!

avatar image u3dxt · Mar 05, 2014 at 02:16 AM 0
Share

Do you still see "Cannot connect to iTunes Store" error? What device and iOS version are you using?

For each in-app purchase item in iTunesConnect, a few more gotchas:

  • Use a reverse domain name for product ID, such as com.mycompany.mygame.product1.

  • $$anonymous$$ake sure you have cleared it for sale.

  • $$anonymous$$ake sure to add a language for details.

  • $$anonymous$$ake sure its status is Ready to Submit or Approved.

  • Under Current Version, In-App Purchase section, add your items.

avatar image thevinh1210 · Mar 05, 2014 at 02:38 AM 0
Share

Yes, i just see "Cannot connect to iTunes Store" error, but when i log the error like that, sometimes it crash. I use an iPod 5, and the version IOS is 6.1.3 I did:

Use a reverse domain name for product ID: com.mycompany.mygame.product1. $$anonymous$$ake sure you have cleared it for sale. $$anonymous$$ake sure to add a language for details. $$anonymous$$ake sure its status is Ready to Submit or Approved.

But im not clear to understand the last line? Can you explain more?

avatar image thevinh1210 · Mar 05, 2014 at 04:02 AM 0
Share

Oh, i understood! I add my 3 items in-app purchases to my app! but it still dont working! Or do i have to wait some hours for it?

avatar image vinhnhon · Mar 05, 2014 at 04:10 PM 0
Share

And, the debug output says can$$anonymous$$akePayments is true! Oh, Do I have to setup bank info and tax info in contract?

Show more comments

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

22 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

Related Questions

Launching the appstore via u3dxt 1 Answer

[U3DXT] Bug? SocialXT.PostCompleted called with completed=true even if posting was unsuccessful 1 Answer

Gamecenter in ios 0 Answers

unity 5 u3dxt xCode errors 0 Answers

Variant ap for app slicing : Language 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