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 your games. It is a very lengthy process to organize, set up the code, and test accurate purchases in the sandbox environment.
The following were taught in this chapter:
How to set up product IDs for In-App Purchases in iTunes Connect
Implementing purchase items using Corona's store module
Adding 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.
Please 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 Corona Labs site: for more references pertaining to this topic.
After 11 chapters, we have reached the end...