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 /
  • Help Room /
avatar image
0
Question by treborguy · Jun 22, 2020 at 09:15 AM · in app purchase

Test in-app purchase inconsistent on iOS devices

Hi there,

⠀

My in app purchases are working on some of my testers' devices but not on others. It also works fine on my iOS device and all Android devices.

⠀

I have 2 users who have tried dozens of times with different builds. I even switched from completely code based in app purchases to codeless and it's still just an issue for those specific users.

⠀

I have confirmed that purchasing is initializing for them, and that the product exists. After they put in their password the purchase always fails with the error message: "OnPurchaseFailed: FAIL. PurchaseFailureReason: Unknown"

⠀

And that's the only information I about the problem that I can get. Again, it works fine for some of my users, and others not at all.

⠀

Maybe someone could give me some suggestion of what to do. Right now I'm using the Codeless API so there should be no issue with my code.

⠀

As for the IAP catalog these are the steps I have taken:

⠀

  • Set ID to IAP name on App Store Connect and Play Console

  • Set type to non-consumable

  • Selected English (U.S.) (Google Play, Apple)

  • Given Title

  • Given Description

  • Given pricing template for Google

  • Set price tier for Apple

  • Set screenshot path

  • Set Apple SKU

  • Set Apple Team ID

⠀

As mentioned, the button is hooked up and working on some iOS devices and all Android devices, so I don't think it's anything to do with how I've configured IAP in Unity.

⠀

Any suggestions would be greatly appreciated!

⠀

I'm also now getting a problem with Codeless IAP where if you cancel the in app purchase and go to purchase again, the button doesn't bring up the test confirmation dialogue, or the option to enter your password on the device. (But it DOES trigger BuyProductID() still)

⠀

Thanks Rob

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by mares_unity · Jul 15, 2020 at 08:47 AM

Hello @treborguy, my app still has the same problem with the IAP Purchase. The IAP purchase has always been functional except since IOS 13.4 update. On IOS 13.4 + devices, the native purchase popup no longer opens. The following error always occurs: "OnPurchaseFailed: FAIL. PurchaseFailureReason: Unknown"

Did you find a solution?

You can see my thread here https://forum.unity.com/threads/unity-iap-services-not-working-in-my-release-app-since-ios-13-4-the-purchase-dialog-does-not-show. 911093 /

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

201 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 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

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

Can i use analytics for LICENSING? just like the IN-APP BILLING service? 0 Answers

IAP causing loads of issues and not installing 0 Answers

Why I am I getting DuplicateTransaction fails 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