
Odoo 14 Development Cookbook
By :

In this recipe, we will complete the IAP service module. We will use the IAP platform to authorize and capture credit from the customer account. We will also add an optional configuration to save the service key generated in the Registering an IAP service in Odoo recipe of this chapter.
For this recipe, we will be using the iap_isbn_service
module.
As we are using the IAP sandbox service, we need to set an IAP endpoint in the system parameters. To set the IAP sandbox endpoint, follow these steps:
Figure 17.7 – Setting an endpoint for the IAP sandbox
In order to complete the service module, we will add a configuration option to the store service key. Follow these steps to add a new field to set isbn_service_key
in the general...