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
2
Question by okuligowski · Mar 31, 2017 at 03:12 PM · iosunity5iapin-app-purchase

Unity Codeless IAP, iOS, Sandbox, PurchaseFailureReason.Unknown

We are using Unity Codeless IAP. Android worked immediately without any problems. iOS is not working. We haven't submitted/released that game, but from what I know, we should still be able to test it in sandbox environment.

Unity 5.5.2f1, XCode 8.2.1, iPhone 6s, iOS 10.2.1

Here is what we did/checked:

  1. All our iap products are set up in iTunesConnect (status: Ready to Submit).

  2. We created and tried a few new and old sandbox test accounts (created in "Sandbox Testers" tab in iTunes Connect).

  3. We have accepted all Agreements in iTunes Connect for a long time and other released apps do not have any problems.

  4. We enabled IAP permission in XCode project and verified that provisioning profile also has it enabled.

  5. We successfully uploaded IPA to iTunes Connect (just to check if this build is acceptable by automatic verification when uploading).

  6. We signed-out from any account under Settings -> iTunes & AppStore.

  7. We have NOT signed in to sandbox account ever before running our application in development mode via XCode.

  8. IAP initialize is successful with all our iap products (5 of them total, both consumable and non-consumable). No error there. Prices are applied correctly in our text fields from IAPButton.

  9. When we click on IAPButton we are asked to create or use existing account. We use existing and type correct sandbox account credentials (double-checked or even 100-checked).

  10. We waited day or 2 (if iTunes Connect needs to process something) but still same results.

And here is what we get almost immediately after signing in with sandbox tester account:

 IAPButton.OnPurchaseFailed(Product UnityEngine.Purchasing.Product, PurchaseFailureReason Unknown)


Two days of google and experiments and nothing. We are blocked by this single issue and we do not want to release our game before making sure that IAPs are working on both platforms.

Any help?

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

3 Replies

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

Answer by colinday · Mar 31, 2017 at 11:02 PM

Sorry, I don't have an answer for this ... but UnityIAP is also failing for me with PurchaseFailureReason.Unknown about 50% of the time.

I'm blaming Apple services ... the status page right this second has "iTunes Sandbox - Issue" lit up in yellow and indicates that there is an ongoing issue and that they are currently investigating it and according to the info on that page it started on 3/29 at 5:20pm ... so it's going on 2 or 3 days now :(

https://developer.apple.com/system-status/

Update: My purchases are now failing 100% of the time for what it's worth.

Comment
Add comment · 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
0

Answer by okuligowski · Apr 01, 2017 at 06:00 AM

@colinday You are my hero! This was it. Thank you :)

We wasted 3 days, almost cried... Turns out we did everything fine. Good to know.

Comment
Add comment · 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
0

Answer by nicloay · Nov 27, 2017 at 10:47 AM

If it didn't help. try to submit project so your inapps will change status to "waiting for review" and then cancel submission (it will require to fill out promo materials, icons, descriptions etc, you can use dummy data).

Comment
Add comment · 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

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

123 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

Related Questions

Unavailable Product ID 0 Answers

How to implement IAP in Unity? 3 Answers

Is Upgrading to Unity 5 from Unity 4 reduces the build size for iOS? 0 Answers

Game crashes during IAPs only on iPad (Unity 2018.4.19) 0 Answers

UnityIAP iOS; prices shown, but sandbox purchase fails for Testflight build. Works fine for xcode development build 1 Answer


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