We can finally see the light at the end of the tunnel. By now, you should have an idea on how to implement In-App Purchases in to your games. It is a very lengthy process to organize, set up the code, and testing accurate purchases in the sandbox environment.
The following were discussed in this chapter:
Setting up Product IDs for In-App Purchases in iTunes Connect
Implementing purchase items using Corona's
store
moduleAdding test user accounts in iTunes Connect
Testing In-App Purchases on a device
Grasping the concept of In-App Purchasing can take some time. It is best to study the sample code and review the functions pertaining to Corona's store
module.
Check out Apple's In-App Purchase Programming Guide at: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/StoreKitGuide.pdf and the In-App Purchases in the API Reference section of Anscamobile's site: http://developer.anscamobile.com/reference/index/app-purchases for more references pertaining...