Upgrade to use "store" library

Is it true that I need to buy Corona for $79/month to use in-app purchases on my first app?

When I build the test file I get a message saying that I need to upgrade my account to use the “store” library.

Thanks,

Dallas

No. Corona SDK is free including In-App Purchases and has been for almost a year now. You would potentially get this message if you either a) are running a really old version of Corona SDK or b) you haven’t logged out and back in since we made it free.

What version of Corona SDK are you using? 2015.2731 is the current public release. The latest daily build as of this post is 2016.2813. All users should have access to daily builds as well.

You need at least build 2731 to deploy to the Apple iTunes Store, so upgrading to that version is a minimum. After you do that, you will also want to logout and back in to get your pro status update.

Rob

Rob, that fixed the issue I just had to log out and then back in.

I’ve gone ahead and built the sample InAppPurchase file and uploaded it to my device using an Ad Hoc Provisioning profile.  I logged out of the App Store and open the InAppPurchase app that I installed.  When I press the “Load Products” button I’m presented a message that says “In-app purcahses are not supported on this system/device.”  Any ideas why this is happening?

I setup a single in app purchase in my itunes connect account.  Can in app purchases be tested using an Ad Hoc build or do I need to submit an app to TestFlight?

Thanks,

Dallas

Ahh figured it out.  It hinted at it in the top of the main.lua file but I couldn’t find it.

If anyone else is having this issue make sure to comment out lines 28-30 of the productData.lua file and replace put your product ID created in itunes connect in place of this code.

No. Corona SDK is free including In-App Purchases and has been for almost a year now. You would potentially get this message if you either a) are running a really old version of Corona SDK or b) you haven’t logged out and back in since we made it free.

What version of Corona SDK are you using? 2015.2731 is the current public release. The latest daily build as of this post is 2016.2813. All users should have access to daily builds as well.

You need at least build 2731 to deploy to the Apple iTunes Store, so upgrading to that version is a minimum. After you do that, you will also want to logout and back in to get your pro status update.

Rob

Rob, that fixed the issue I just had to log out and then back in.

I’ve gone ahead and built the sample InAppPurchase file and uploaded it to my device using an Ad Hoc Provisioning profile.  I logged out of the App Store and open the InAppPurchase app that I installed.  When I press the “Load Products” button I’m presented a message that says “In-app purcahses are not supported on this system/device.”  Any ideas why this is happening?

I setup a single in app purchase in my itunes connect account.  Can in app purchases be tested using an Ad Hoc build or do I need to submit an app to TestFlight?

Thanks,

Dallas

Ahh figured it out.  It hinted at it in the top of the main.lua file but I couldn’t find it.

If anyone else is having this issue make sure to comment out lines 28-30 of the productData.lua file and replace put your product ID created in itunes connect in place of this code.