App Purchase ?

Hi All,

I have free corona license and i want check the app purchase in my game.

is it possible for free license?

am i upgrade my license in app purchase items?

Hi @gurcanhamali,

Do you mean, you wish to implement In-App Purchases? This requires at least the “Basic” membership level of Corona SDK, as shown here:

http://www.coronalabs.com/pricing/

Sincerely,

Brent Sorrentino


Hi Brent,

I bought a “Basic” membership level of Corona SDK but when i try to sample app InAppPurchase, still get error :  Corona SDK Warning - You will not be able to publish this app to the store because it uses a restricted library (store). Please upgrade to unlock it.

I built this project and i am trying to work on my i phone 5 and i get message : "                    “Sorry! In-App purchases is not supported on this device.”

What could be the problem?

thank you

Hi @gurcanhamali,

In the Corona Simulator, please go to “Preferences…”, or “Corona Simulator Preferences” if using Windows. In the menu, look for an option that says “Deauthorize and Quit”. It should prompt you to quit the Simulator, so accept. Once this is complete, re-open the Simulator, and it should ask you to re-login. Do so, and the account should pick up your new membership tier.

I may also need to de-authorize your machine(s) internally. However, I see three accounts that match your name (various e-mail providers, which of course I will not print here in the public forums). Are all 3 of these accounts associated with you? Or, is just one the “active” one that you used for the Basic upgrade?

Thanks,

Brent

Hi Brent,

Thank you very much for your quick response. First i Deauthorized and re-login corona simulator. My first issue has been solved. 

But still i am getting “In-app purchases is not supported on this device” warning on my iPhone 5 phone…

I read the comment into sample application. it says:

– To test with the iTunes store, you must:

–   1. Set up your own In App Purchase products in iTunes Connect.

–   2. Modify the code below to suit your products.

–   3. Set up a test user account and provisioning for your iOS test device.

–   3. Build and deploy on device.

But really i didn’t understand what can i do  :frowning:

Please explain me, help me (step by step) how can i test my purchase items or how can i put a purchase item in my game  :huh:

and your last question  (Are all 3 of these accounts associated with you?) answers is YES  :) 

because i have three computer  :) 

I bought the basic plans. i hope i can use my account on my all computers. if is it ok other two accounts of me can be delete…

Please help me about app purchase. because my project to be finished and i want add the payed items 

Thank you in advance

edit: in sample code has below lines

– Product IDs for the “apple” app store.

local appleProductList =

{

    – These Product IDs must already be set up in your store

    – We’ll use this list to retrieve prices etc. for each item

    – Note, this simple test only has room for about 4 items, please adjust accordingly

    – The iTunes store will not validate bad Product IDs 

    “com.anscamobile.NewExampleInAppPurchase.ConsumableTier1”,

    “com.anscamobile.NewExampleInAppPurchase.NonConsumableTier1”,

    “com.anscamobile.NewExampleInAppPurchase.SubscriptionTier1”,

}

What should I replace it with this user?

Hi @gurcanhamali,

Each license of Corona can be used on 2 computers. If you want to use your Basic membership on 2 computers, I will “de-associate” your other computers with the other accounts, then you can re-authorize two of those computers with the Basic account. Of course, you can continue to use the other computer with a free Starter account, but you won’t be able to build/test In-App Purchase things on the third computer.

For In-App Purchases (IAP), this can be a tricky process to set up, for all mobile developers (not just Corona developers). It requires a fair amount of configuration and testing, but hopefully our setup is reasonably simple, and our guide + tutorial will help you along:

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

http://www.coronalabs.com/blog/2013/09/03/tutorial-understanding-in-app-purchases/

Best regards,

Brent

Hi @gurcanhamali,

Do you mean, you wish to implement In-App Purchases? This requires at least the “Basic” membership level of Corona SDK, as shown here:

http://www.coronalabs.com/pricing/

Sincerely,

Brent Sorrentino


Hi Brent,

I bought a “Basic” membership level of Corona SDK but when i try to sample app InAppPurchase, still get error :  Corona SDK Warning - You will not be able to publish this app to the store because it uses a restricted library (store). Please upgrade to unlock it.

I built this project and i am trying to work on my i phone 5 and i get message : "                    “Sorry! In-App purchases is not supported on this device.”

What could be the problem?

thank you

Hi @gurcanhamali,

In the Corona Simulator, please go to “Preferences…”, or “Corona Simulator Preferences” if using Windows. In the menu, look for an option that says “Deauthorize and Quit”. It should prompt you to quit the Simulator, so accept. Once this is complete, re-open the Simulator, and it should ask you to re-login. Do so, and the account should pick up your new membership tier.

I may also need to de-authorize your machine(s) internally. However, I see three accounts that match your name (various e-mail providers, which of course I will not print here in the public forums). Are all 3 of these accounts associated with you? Or, is just one the “active” one that you used for the Basic upgrade?

Thanks,

Brent

Hi Brent,

Thank you very much for your quick response. First i Deauthorized and re-login corona simulator. My first issue has been solved. 

But still i am getting “In-app purchases is not supported on this device” warning on my iPhone 5 phone…

I read the comment into sample application. it says:

– To test with the iTunes store, you must:

–   1. Set up your own In App Purchase products in iTunes Connect.

–   2. Modify the code below to suit your products.

–   3. Set up a test user account and provisioning for your iOS test device.

–   3. Build and deploy on device.

But really i didn’t understand what can i do  :frowning:

Please explain me, help me (step by step) how can i test my purchase items or how can i put a purchase item in my game  :huh:

and your last question  (Are all 3 of these accounts associated with you?) answers is YES  :) 

because i have three computer  :) 

I bought the basic plans. i hope i can use my account on my all computers. if is it ok other two accounts of me can be delete…

Please help me about app purchase. because my project to be finished and i want add the payed items 

Thank you in advance

edit: in sample code has below lines

– Product IDs for the “apple” app store.

local appleProductList =

{

    – These Product IDs must already be set up in your store

    – We’ll use this list to retrieve prices etc. for each item

    – Note, this simple test only has room for about 4 items, please adjust accordingly

    – The iTunes store will not validate bad Product IDs 

    “com.anscamobile.NewExampleInAppPurchase.ConsumableTier1”,

    “com.anscamobile.NewExampleInAppPurchase.NonConsumableTier1”,

    “com.anscamobile.NewExampleInAppPurchase.SubscriptionTier1”,

}

What should I replace it with this user?

Hi @gurcanhamali,

Each license of Corona can be used on 2 computers. If you want to use your Basic membership on 2 computers, I will “de-associate” your other computers with the other accounts, then you can re-authorize two of those computers with the Basic account. Of course, you can continue to use the other computer with a free Starter account, but you won’t be able to build/test In-App Purchase things on the third computer.

For In-App Purchases (IAP), this can be a tricky process to set up, for all mobile developers (not just Corona developers). It requires a fair amount of configuration and testing, but hopefully our setup is reasonably simple, and our guide + tutorial will help you along:

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

http://www.coronalabs.com/blog/2013/09/03/tutorial-understanding-in-app-purchases/

Best regards,

Brent