Please show the results of your debugging. Is the On Successful Purchase event firing, but IAP is failing? How are you debugging, breakpoint debugging in XCode or using Debug.Log statements and monitoring the logs?
Great! Please provide the log output when running on your phone. Specifically we are looking for log entries of the form “unityiap”. You’ll likely want to place Debug.Log statements in your code to confirm execution. https://discussions.unity.com/t/748729/14
Well I can see it fine there, but I can’t copy paste xD
So, I get:
Initializing UnityPurchasing via Codeless IAP
UnityIAP Version: 1.23.0
UnityIAP: Promo Interface available for 1 items
So actually like always (working fine on android, even with server side verification).
And that’s it, when I click the button on ios nothing happens.
[edit] well, it’s a bit crazy, I added a simple “debug.log(“hi”)” to the button, and now it’s working and I can buy the item, I don’t get it, now it’s also posting more output (what is great)[/edit]
When you posted that code, my assumption was that you were likely using an older APK because the code would not be expected to compile. Spelling is critically important on the forum (and in your projects!)