Unity IAP packages 5.3.1 and 4.15.1 are now available

Unity IAP - Purchasing SDK Updates

Unity Services Window: Users can install and update in the Cloud Services window, under In-App Purchasing, by pressing the ‘Import’ or ‘Update’ button.

Asset Store: Unity IAP is now also available on the Asset Store at http://u3d.as/xM1.

Changes (Changelog.md in the Assets/Plugins/UnityPurchasing folder):

See the last post on this thread for the latest fixes and features to Unity IAP.

3 Likes
Unity IAP strange behavior
[Solved] Unity IAP 2.0.3 Breaks my codebase
[Bug] Unity IAP 3.1.0 ConfirmPendingPurchase does not prevent DuplicatePurchase
"User's purchase success, but OnPurchaseFailed() is called" (726479)
Android ANR onBillingSetupFinished (898144)
Important update: Google Play Billing Library v5.1.0
Newer Unity IAP has different TransactionID for Google Play
AndroidManifest.xml for amazon app store.
In app with Unity 2019.2.21f1 (64-bit)
What's the difference between 1.22.0 and 2.0.6?
Our Experience w/ an Apple Kids App
NullReferenceException in MetricizedGooglePlayStoreService.DequeueQueryProducts
DeObfuscate not implemented
Unity IAP Previous Versions (Obsolete - please see Package Manager)
(iOS)Receiving transaction that is not present in the receipt (auto-renewing subscriptions or non-co
502 Bad Gateway POST operate-sdk-telemetry
How to access GooglePlayStore.FinishTransaction
Missing orderId last number
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Google Play subscription changes (Account hold, restore)
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Game freezes after purchase on some samsung device
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Impossible to meet instant app size limit with com.unity.purchasing 4.9.4
Important update: Google Play Billing Library v5.2.1 adds compatibility with Android 14
Microsoft Store IAP Initialisation Exception
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Unity IAP and Google Android Billing
Proper documentation
Can't buy anything with UnityIAP on IOS (Thai region)
How do i use iap 4.12.0 (948832)
Important update: Google Play Billing Library v5.1.0
A combined com.unity.purchasing package, merges the Unity IAP plugin: 3.0.0
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Unity IAP (1.20) bad performance on iOS.
[Solved] [2.2.2] Non-consumables don't have a receipt anymore in OnInitialized
UniPay - In App Purchase (IAP) Billing - Shop solution
Unitypurchasing is missing on Apple Silicon build
Google Play Pre-Register Rewards Support? (756055)
Error: ProductUnavailable Unity IAP error in 3.02
Unity IAP doesn't consume consumable acknowledged purchases
How to upgrade and install IAP 3.0 for Unity 2019?
Android App crashes using Unity IAP 1.21.0
[BUG] Why is IStoreListener.ProcessPurchase now called before OnInitialized on app start? :(
OnPurchaseDeferred seems to be mandatory and callback is called from a secondary thread
Using the Home Button during a purchase breaks purchasing
UniPay - In App Purchase (IAP) Billing - Shop solution
How to support PurchaseFailureReason.Unknown?
IAP latest version bugs
Unity IAP Previous Versions (Obsolete - please see Package Manager)
IAP 4 not working after update
Google Play You already own this item issue
SubscriptionManager and Android KeyNotFoundException
IAP fails in Unity Cloud Builds (821153)
Newer Unity IAP has different TransactionID for Google Play
A combined com.unity.purchasing package, merges the Unity IAP plugin: 3.0.0
Multiple exceptions after updating to the v4.4.1
Unity In-App-Purchases 5.0.3 invoke `OnProductsFetchFailed` callback on iOS when fetch products success
Android Subscriptions - Introductory pricing support
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Important update: Google Play Billing Library v5.1.0
Google IAP Billing v4 offers a Multi-quantity purchase, how do we handle this?
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Amazon Unity IAP build error
Unity IAP 1.20.1 causing UWP build errors
Unity IAP Previous Versions (Obsolete - please see Package Manager)
How to download Unity IAP 1.23.1 version ?
IAP bool UnityEngine.VR.VRSettings.get_enabled() error
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Alternative to SetPublicKey
IAP return PurchaseFailureReason Unknown. Android (Google Play)
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Unity IAP Previous Versions (Obsolete - please see Package Manager)
Important update: Google Play Billing Library v5.2.1 adds compatibility with Android 14
Unity IAP does not work on UWP platform

Unity IAP package 1.6.1 is now available

[1.7.0] - 2016-08-07

Added

  • Samsung Galaxy store support. Preliminary documentation is available here.
  • Google Play - failed purchases - the Google Play server response code is now supplied as the PurchaseFailedEventArgs.message property for failed purchases.
  • Android - it is now possible to choose the store implementation to use at runtime.
  • Make a build containing all store implementations by choosing Window > Unity IAP > Android > “Select store at runtime”
// Pass the desired store to the module, e.g. Amazon Apps.
var module = StandardPurchasingModule.Instance(AndroidStore.AmazonAppStore);

Fixed

  • Google Play - PurchaseFailureReason.ItemUnavailable and PurchaseFailureReason.BillingUnavailable being reported as ‘Unknown’ errors.

[1.6.1] - 2016-07-18

Fixed

  • Google Play - fixed non fatal ‘IllegalArgumentException: Receiver not registered’ warning appearing in crashlogs.
1 Like

Released 1.8 with Samsung’s Tizen Store now supported, and a couple of bugfixes:

[1.8.0] - 2016-08-23

Added

  • Tizen Store support. Preliminary documentation is available here.

Fixed

  • Google Play - Promo code redemptions not being detected whilst the App is running.
  • Google Play - Guard against spurious SecurityException (additional details here.)
2 Likes

Unity IAP 1.8.1 is now available

[1.8.1] - 2016-08-30
Fixed

  • Windows Store - Windows App Compatibility Kit Supported API failure with exposure of Tizen API.
  • Tizen Store - Added sample products and GroupId to IAPDemo.cs
1 Like

Tizen Store problem:
I/Unity ( 3565): Couldn’t open /opt/usr/apps/com.luabingo.luabingo/lib/libTizenStore.so, error: /opt/usr/apps/com.luabingo.luabingo/lib/libTizenStore.so: cannot open shared object file: No such file or directory

I/Unity ( 3565):

I/Unity ( 3565): (Filename: Line: 192)

I/Unity ( 3565):

I/Unity ( 3565): Couldn’t open /opt/usr/apps/com.luabingo.luabingo/lib/libTizenStore.so, error: /opt/usr/apps/com.luabingo.luabingo/lib/libTizenStore.so: cannot open shared object file: No such file or directory

I/Unity ( 3565):

I/Unity ( 3565): (Filename: Line: 192)

I/Unity ( 3565):

I/Unity ( 3565): DllNotFoundException: /opt/usr/apps/com.luabingo.luabingo/lib/libTizenStore.so

I/Unity ( 3565): at (wrapper managed-to-native) UnityEngine.Purchasing.TizenStoreBindings:setUnityPurchasingCallback (UnityEngine.Purchasing.UnityNativePurchasingCallback)

I/Unity ( 3565): at UnityEngine.Purchasing.TizenStoreBindings.SetUnityPurchasingCallback (UnityEngine.Purchasing.UnityNativePurchasingCallback AsyncCallback) [0x00000] in :0

I/Unity ( 3565): at UnityEngine.Purchasing.TizenStoreImpl.SetNativeStore (INativeTizenStore tizen) [0x00000] in :0

I/Unity ( 3565): at UnityEngine.Purchasing.StandardPurchasingModule.InstantiateTizen () [0x00000] in :0

I/Unity ( 3565): at UnityEngine.Purchasing.StandardPurchasingModule.InstantiateStore () [0x00000] in :0

I/Unity ( 3565): at UnityEngine.Purchasing.StandardPurchasingModule.Configure () [0x00000] in :0

I/Unity ( 3565): at UnityEngine.Purchasing.Extension.AbstractPurchasingModule.Configure (IPurchasingBinder binder) [0x00000] in :0

I/Unity ( 3565): at UnityEngine.Purchasing.Purchasing

1 Like

Hi @achimeno_1 ,

What device or OS are you currently running this app on?

Can you confirm what version of the plugin you are using and how the plugin was installed? Are you seeing the “missing” plugin (libTizenStore) in the Plugins/UnityPurchasing/Bin/Tizen folder?

2 Likes

Unity IAP 1.8.2 is now available

[1.8.2] - 2016-09-23

Fixed

  • Tizen Store - Product list not delivered to new app or new user
1 Like

Can you expain abit more about this problem was it internal TIzen issue or Unity side?

1 Like

Unity IAP 1.8.3 is now available

[1.8.3] - 2016-10-13

Fixed

  • iOS crash when calling PurchasingManager.ConfirmPendingPurchase with a product that does not have a transaction ID
  • Ensure tvOS build uses correct correct stub DLL
1 Like

@MrEsquire 1.8.2’s Tizen change was Unity IAP-side, a logic error in our callback handling.

1 Like

Hi,
Why do you removed the “select store at runtime”?! It was very useful feature for me and helped me to save time and avoid submitting my app with the wrong Target Store selected!
Please restore this feature in the coming update.

1 Like

What is CloudMoolah? There is no info on the website.

Hi @00christian00 ! CloudMoolah is a content and IAP payment aggregator, and partner of Unity’s, recently founded to help developers more easily access the complicated Asian market, focusing on Southeast Asia initially.

They maintain a digital wallet for users fillable by users through a range of payment providers active in Asia, such as MOL. The diverse range of payment providers matches how that market spends money through mobile.

Their team has joined us this week at Unite LA to talk about their new company in a Session (November 1, Breakout 2, site) and on the showroom floor.

This app store and IAP solution is currently targeting Android games.

I understand the wallet thing, but what mean content aggregator? Are they offering an alternative store?
Because I don’t think you can have alternative payment methods on Google Play store.

What’s about the removed “select store at runtime” feature?

@Wadjey It’s just the menu item that’s gone; nothing changed in code. You can still select your Android store at runtime by passing the desired AndroidStore over to the StandardPurchasingModule.Instance at initialization.

2 Likes

Sorry for being unclear - yes all of that is correct. Cloud Moolah supports distributing applications, and collects payments from several third party payment providers into a Cloud Moolah digital wallet.

I also have the libTizenStore.so error, I’m testing it on Emulator and I checked the file is inside the tpk file on lib folder :

11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) : DllNotFoundException: /opt/usr/apps/com.sevensails.queensgarden/lib/libTizenStore.so
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at (wrapper managed-to-native) UnityEngine.Purchasing.TizenStoreBindings:setUnityPurchasingCallback (UnityEngine.Purchasing.UnityNativePurchasingCallback)
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at UnityEngine.Purchasing.TizenStoreBindings.SetUnityPurchasingCallback (UnityEngine.Purchasing.UnityNativePurchasingCallback AsyncCallback) [0x00000] in <filename unknown>:0 
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at UnityEngine.Purchasing.TizenStoreImpl.SetNativeStore (INativeTizenStore tizen) [0x00000] in <filename unknown>:0 
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at UnityEngine.Purchasing.StandardPurchasingModule.InstantiateTizen () [0x00000] in <filename unknown>:0 
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at UnityEngine.Purchasing.StandardPurchasingModule.InstantiateStore () [0x00000] in <filename unknown>:0 
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at UnityEngine.Purchasing.StandardPurchasingModule.Configure () [0x00000] in <filename unknown>:0 
11-16 18:51:26.416 : INFO / Unity ( 3595 : 3595 ) :   at UnityEngine.Purchasing.Extension.AbstractPurchasingModule.Configure (IPurchasingBinder binder) [0x00000] in <filename unknown>:0

Any advice?

IAP library automatically adding READ_PHONE_STATE permission for android.

Repro:

  • create empty unity project
  • enabled services
  • import IAP library from services tab

Verification:

  • build to android project
  • look in ProjectFolder/ProjectName/AndroidManifest.xml

you will note the permission does not exist before adding the library, but is automatically included afterward.

This did not happen with the previous IAP library (we updated recently to fix the google IAP sandbox bug).

Any chance anyone can confirm this? I’ve tested my code paths for sandbox, but will probably revert to old IAP library to fix this and the outstanding moolah issue with WebViewClient.onReceivedSslError

Edit: Unity Version 5.3.5p6

1 Like

Most plugins that use native libraries will not work correctly in the Emulator and IAP falls into that category. With respect to “next steps” here it depends on how you were planning to use the Emulator. You can manually swap-out the Tizen store DLL for the “stubbed” version which will eliminate this dependency, but any code that attempts to actually use IAP will then throw an exception.