InApp

Hi ,

Let me wish everyone a happy new year.

I am integrating in app purchase for apple and playstore.

I have followed all the guidelines given. But when i run its showing a waring " The store api is not supported for this platform " and its not detecting whether its playstore or apple . the code is

" if store.availableStores.apple then
        store.init(“apple”, transactionCallback)
    elseif store.availableStores.google then
        store.init(“google”, transactionCallback)
    else
    local alert = native.showAlert( “Zombie Love”, " Store is not available", {“Ok”} )
        print(“In-app purchases is not supported on this system/device.”)
    end-"

Its not getting intialized . Pls dont ask me to refer any link , pls show me any working examples. As i am a newbie.

Two questions for you…

1.  The forums say you are a Starter Account.  InApp Purchases require a Basic, Pro or Enterprise subscription.  Do you have a subscription level that lets you use IAP?

2.  Are you getting this on the simulator or on devices?

Rob

Hi Rob,

Happy New Year 2014 !!!

I Have Corona SDK Pro Subscription, Can you help me please in how works In App Purchase ? Im almost done my App with several levels , I wanna star use In App Purchase in my levels of the game.

Thank you 

There is a tutorial here:  https://coronalabs.com/blog/2013/09/03/tutorial-understanding-in-app-purchases/

And our guide here: http://docs.coronalabs.com/guide/monetization/IAP/index.html

That should get you started @rdchicago.

Two questions for you…

1.  The forums say you are a Starter Account.  InApp Purchases require a Basic, Pro or Enterprise subscription.  Do you have a subscription level that lets you use IAP?

2.  Are you getting this on the simulator or on devices?

Rob

Hi Rob,

Happy New Year 2014 !!!

I Have Corona SDK Pro Subscription, Can you help me please in how works In App Purchase ? Im almost done my App with several levels , I wanna star use In App Purchase in my levels of the game.

Thank you 

There is a tutorial here:  https://coronalabs.com/blog/2013/09/03/tutorial-understanding-in-app-purchases/

And our guide here: http://docs.coronalabs.com/guide/monetization/IAP/index.html

That should get you started @rdchicago.