I’ve checked the plug-in version on BitBucket (that connects to Corona’s servers) and it does have the correct/latest version, which should allow you to run without supplying an inventory filename.
Do you still get the same problem? If you do, I’ll contact the support team - for some reason, maybe the build servers haven’t noticed the changes for some reason.
A frequently requested feature is subscription payments via IAP.
Does anyone have any working IAP subscription code for iOS, Android and Amazon, and would be interested in collaborating to include subscriptions ‘out of the box’ on IAP Badger.
If you have some code that has been tested in the real world, and this is something you’re interested in working on, feel free to message me directly.
Kind regards,
Simon
PS - if you are interested, be aware that IAP Badger is open source, so this would include sharing code on Github for everyone’s use.
This is what I’m getting in the windows simulator using build 2017.3068
16:17:25.477 PluginSync: plugin uk.co.happymongoose/plugin.iap\_badger needs to be updated for platform win32-sim to build number: 2642 16:17:25.477 PluginSync: downloading plugin: http://plugins.coronasphere.com/uk.co.happymongoose/plugin.iap\_badger/2015.2642/win32-sim/plugin.iap\_badger.zip
later:
16:17:27.431 ERROR: Runtime error 16:17:27.431 iap\_bader:init - no filename for inventory file provided 16:17:27.431 stack traceback: 16:17:27.431 [C]: in function 'error' 16:17:27.431 ?: in function 'init'
Still complains if I don’t give it a filename, and the “2015.2642” seems old, right? Maybe this is just a win-sim issue only. I’ve not yet tried a device build (and usually don’t if I can’t get it to run in sim), but will try that next, see if it’s win-sim isolated. thx
My searching didn’t show anyone else with this problem…
Buying something with debug mode turned on works fine, but when I turn it off and run on the device with a sandbox ID, I get an error message that it can’t connect to the iTunes store:
Any idea on where I should be looking for the solution? I can post my code if needed, but am hoping this is a known problem.
[quote name=“happymongoose” post=“358563” timestamp=“1496133093”]Are you logged into your device as one of the test users you set in iTunes Connect?[/quote] Yes and no. Not logged in, but when it asks me for my username and password when I try to buy, I’m using the sandbox credentials (I’m logged out of iTunes on the device). It was rejected by Apple with the exact same error, and I would assume they were logged in correctly with their account. Jay
Hi all, sorry but this bug is always here. I am using the last version of corona and so the last iapbadger plugin, and in debug mode loadProducts failed to call a listener .
Am i alone with this problem ?
Just to let you know where I am with some of the issues raised earlier in the thread.
There’s an issue that Corona’s servers aren’t picking up a newer version of IAP Badger that’s been uploaded to BitBucket. This means plug-in users are building with an older version of the code.
I’ve tried to contact Corona twice now about this but I haven’t heard anything back. I’ve tried:
using their general support form
directly emailing the engineer who helped set up the plug-in (who may or may not work there any more)
Didn’t want anyone to think I’d forgotten about these issues - I’ll let you know when/if I make any progress with this.
Hey Simon. I don’t see any requests sent to support AT coronalabs.com attached to your email address. Did you send them from a different address. I’ll email you directly for more information.
Rob (legendary) has helped resolve the issue of the plug-in not updating. Turns out (in rather less legendary fashion) I was pushing code out to the wrong repo.
Hopefully, this will fix some of the problems plug-in users have been having.