[MOV] developer/api/iap: move "In-App Purchase" to the howtos dir

task-2991663

Part-of: odoo/documentation#3655
This commit is contained in:
Antoine Vandevenne (anv) 2023-02-20 17:26:10 +00:00
parent 2701d91db0
commit b817e16a4c
16 changed files with 29 additions and 20 deletions

View File

@ -69,5 +69,4 @@ Offering my own services
I am more than welcome to offer my own IAP services through Odoo Apps! It is the perfect opportunity
to get recurring revenue for an ongoing service use rather than — and possibly instead of — a sole
initial purchase. Please, find more information at: :doc:`In-App Purchase
</developer/api/iap>`.
initial purchase. Please, find more information at: :doc:`/developer/howtos/provide_iap_services`.

View File

@ -8,5 +8,4 @@ API
:titlesonly:
api/external_api
api/iap
api/extract_api

View File

@ -13,6 +13,7 @@ How-to guides
howtos/company
howtos/accounting_localization
howtos/translations
howtos/provide_iap_services
howtos/connect_device
.. raw:: html
@ -82,6 +83,18 @@ How-to guides
</div>
</a>
<a class="o_toctree_card col" href="howtos/provide_iap_services.html">
<div class="card h-100 pb-0">
<div class="card-body">
<h4 class="card-title text-primary mb-1">Provide IAP services</h4>
<p class="card-text text-dark fw-normal">
Learn how to provide ongoing services with Odoo's In-App Purchase (IAP).
</p>
</div>
<div class="card-footer border-0"></div>
</div>
</a>
<a class="o_toctree_card col" href="howtos/connect_device.html">
<div class="card h-100 pb-0">
<div class="card-body">

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,9 +1,6 @@
.. _api/iap:
===============
In-App Purchase
===============
====================
Provide IAP services
====================
In-App Purchase (IAP) allows providers of ongoing services through Odoo apps to
be compensated for ongoing service use rather than — and possibly instead of
@ -25,7 +22,7 @@ App Developer:
Overview
========
.. figure:: iap/players.png
.. figure:: provide_iap_service/players.png
:align: center
The Players
@ -40,7 +37,7 @@ Overview
bridge/translator between an Odoo system and the actual service.
.. figure:: iap/credits.jpg
.. figure:: provide_iap_service/credits.jpg
:align: center
The Credits
@ -67,7 +64,7 @@ Overview
.. note:: In the following explanations we will ignore the External Service,
they are just a detail of the service you provide.
.. figure:: iap/normal.png
.. figure:: provide_iap_service/normal.png
:align: center
'Normal' service flow
@ -87,7 +84,7 @@ Overview
been rendered, possibly (depending on the service) displaying or
storing its results in the client's system.
.. figure:: iap/no-credit.png
.. figure:: provide_iap_service/no-credit.png
:align: center
Insufficient credits
@ -174,16 +171,16 @@ The service has *seven* important fields:
how you **use it, its relevance** to make your service work and inform the
client on how they can **access, update or delete their personal information**.
.. image:: iap/menu.png
.. image:: provide_iap_service/menu.png
:align: center
.. image:: iap/service_list.png
.. image:: provide_iap_service/service_list.png
:align: center
.. image:: iap/creating_service.png
.. image:: provide_iap_service/creating_service.png
:align: center
.. image:: iap/service_created.png
.. image:: provide_iap_service/service_created.png
:align: center
You can then create *credit packs* which clients can purchase in order to
@ -214,7 +211,7 @@ A credit pack is essentially a product with five characteristics:
pack to another.
.. image:: iap/package.png
.. image:: provide_iap_service/package.png
:align: center
.. _iap-odoo-app:
@ -283,7 +280,7 @@ local value via your application and additional parts via a remote service.
</record>
</odoo>
.. image:: iap/button.png
.. image:: provide_iap_service/button.png
:align: center
We can now implement the action method/callback. This will *call our own
@ -516,7 +513,7 @@ parameters we can use to make things clearer to the end-user.
JSON-RPC2_ Transaction API
==========================
.. image:: iap/flow.png
.. image:: provide_iap_service/flow.png
:align: center
* The IAP transaction API does not require using Odoo when implementing your

View File

@ -38,6 +38,7 @@ applications/sales/crm/acquire_leads/generate_from_website.rst applications/sale
# developer/howtos
developer/api/iap.rst developer/howtos/provide_iap_services.rst # reorganize the developer doc
developer/howtos/backend.rst developer/tutorials/backend.rst # reorganize the developer doc
developer/howtos/rdtraining.rst developer/tutorials/getting_started.rst # reorganize the developer doc
developer/howtos/rdtraining/01_architecture.rst developer/tutorials/getting_started/01_architecture.rst # reorganize the developer doc