In this recipe, we will create a service module to be used by the service provider. This module will accept the IAP request from the customer and return the service result in the response.
Creating an IAP service module
Getting ready
We will create the iap_isbn_service module. This service module will handle customer IAP requests. Customers will send the book info requests with the ISBN numbers. The service module will capture the credit from the customer account and return information like the name, author, and cover image.
To provide easy understanding, we will develop a service module by splitting it into two recipes. In this recipe, we will create a basic module that creates a table for the book's information. Upon...