Sample IAP Project

Here is v2 of the Sample IAP Project. This project includes receipt validation and subscription support, as well as a deferred purchase listener. It is using IAP 3.0.1. To use the validator, you’ll need to generate your own tangle files from menu Window/Unity IAP/Receipt Validation Obfuscator. For use with IAP 4.x, see this post IAP iOS sandbox payment success but doesn't give payout - Unity Services - Unity Discussions

6950270–817625–Sample IAP Project.zip (49.7 KB)

16 Likes
OnInitialize Bug
IsPurchasedProductDeferred issues / questions
Problem with Apple RefreshAppReceipt and SubscriptionManager and handling free trial eligibility
IAP works in editor but not on Android/iPhone
NoProductsAvailable issue on iOS, Android is working properly
OnPurchaseFailed ProductUnavailable from Google store
3 days automatic refund on the google play store.
Can I use Codeless IAP for non-UI buttons?
Error in integrated purchases, please help!
No ads IAP and Restore for iOS/Googleplay
facing with lots of error after updating IAP to 3.1.0
How do i add 'no ads' in-app purchase ?
MethodAccessException when UnityIAP is initializing and trying to query interrupted transaction
IAP Button not functioning outside test
How can I check if an in-app product is purchased before?
Auto Renewing Subscription - complaints from users that it is NOT WORKING?!
Build fails on iOS for some missing files from Unity Purchasing
Purchases not restored on Android - Error: You already own this item
NullReferenceException in UnityEngine.Purchasing.ReflectionUtils.HasMethodInInterface
UnityPurchasing.Initialize is no working in android
Microsoft Store IAP Initialisation Exception
In App Purchases (IAP) does not work on Android
IAP works in editor but not on Android/iPhone
Unity IAP,Completion without reward
How to queue a paid function to run after an IAP button purchase completes to fund it?
Order Status: Pending and Chargeable after updating IAP
IAP Restore - Android
Can't restore non-consumable?
Codeless IAP not restoring purchase on android
(Android) Some users do not receive purchased items
Unable to retest IAP after refund in Google Play Console
NullReferenceException in UnityEngine.Purchasing.ReflectionUtils.HasMethodInInterface
Purchase the app and remove the ads (best way to handle it?)
Help Needed: OnPurchaseFailed, PurchaseFailureReason: ProductUnavailable
Unity IAP Package causes errors
PurchaseManager doesn't fire OnProducetsRetrieved on second init
Receipt validation cause restore purchases on iOS automatically
Which PurchaseFailureReason is good to show
Codeless IAP is wonderful and deprecating it is the biggest mistake
[bug] Unity IAP 2.2.5 cannot ConfirmPendingPurchase
IAP Button when clicked again gives Purchase Complete without even clicking Buy/Cancel
IAP stopped registering any purchases.
test purchase not being acknowledged on google playstore
Unity Codeless IAP Error From Mobile Phones iOS and Android
Amazon IAP Initialize not called.
[Solved] Unity IAP unable to strip and OverflowException: Value was either too large exceptions
How do I check my Unity IAP subscription renewal receipt?
Add Security/Obfuscation support to all platforms (including Editor)
IAP prompts DuplicateTransaction
Need help to make sure I did everything right with IAP.
(SOLVED) Do I have to delete the Unity IAP (obsolete)? Keep receiving message for update
Purchases not restored on Android - Error: You already own this item
So many problems with IAP 3.1.0
Disabling Ads and IAP for specific users.
How can I create runtime debug logging for windows build?
Codeless IAP and subscriptions
IAP 4.1.2 Multiple Errors
Google play trial period
Problem with iOS Unity IAP, OnInitializeFailed : No Products Available
Crash in test environment in Slow test card mode.
Unity IAP is not working on android device
Error IAP version 3.0.2, unity 2019.4.23f1
UnityIAP: Finishing transaction XXXXXXXXXXXX
Unity IAP package 3.0.1 error DeObfuscate
Second subscription product not showing up (Android)
Unity IAP non-consumable (remove ads) gets refund by google after 3 days
Amazon IAP Initialize not called.
Unity IAP .isSubscribed() is always true?
UnityPurchasing.Initialize cannot pass initialization after completing purchase of subscription
Unity IAP - CodelessIAPStoreListener attempted to get unknown product
Unknown error on success payment -android platform
Codeless IAP 3.1.0 package missing UIFakeStoreCanvasPrefab
Subscription/IAP Receipt Validation
IAP Codeless Button not working on Android
Google Play IAPs not restoring: Error. You already own this item