[MOV] developer/api/iap: move "In-App Purchase" to the howtos dir
task-2991663
X-original-commit: b817e16a4c
Part-of: odoo/documentation#3660
@ -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
|
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
|
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
|
initial purchase. Please, find more information at: :doc:`/developer/howtos/provide_iap_services`.
|
||||||
</developer/api/iap>`.
|
|
||||||
|
@ -8,5 +8,4 @@ API
|
|||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
|
||||||
api/external_api
|
api/external_api
|
||||||
api/iap
|
|
||||||
api/extract_api
|
api/extract_api
|
||||||
|
@ -13,6 +13,7 @@ How-to guides
|
|||||||
howtos/company
|
howtos/company
|
||||||
howtos/accounting_localization
|
howtos/accounting_localization
|
||||||
howtos/translations
|
howtos/translations
|
||||||
|
howtos/provide_iap_services
|
||||||
howtos/connect_device
|
howtos/connect_device
|
||||||
|
|
||||||
.. raw:: html
|
.. raw:: html
|
||||||
@ -82,6 +83,18 @@ How-to guides
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</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">
|
<a class="o_toctree_card col" href="howtos/connect_device.html">
|
||||||
<div class="card h-100 pb-0">
|
<div class="card h-100 pb-0">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
@ -1,9 +1,6 @@
|
|||||||
|
====================
|
||||||
.. _api/iap:
|
Provide IAP services
|
||||||
|
====================
|
||||||
===============
|
|
||||||
In-App Purchase
|
|
||||||
===============
|
|
||||||
|
|
||||||
In-App Purchase (IAP) allows providers of ongoing services through Odoo apps to
|
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
|
be compensated for ongoing service use rather than — and possibly instead of
|
||||||
@ -25,7 +22,7 @@ App Developer:
|
|||||||
Overview
|
Overview
|
||||||
========
|
========
|
||||||
|
|
||||||
.. figure:: iap/players.png
|
.. figure:: provide_iap_service/players.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
The Players
|
The Players
|
||||||
@ -40,7 +37,7 @@ Overview
|
|||||||
bridge/translator between an Odoo system and the actual service.
|
bridge/translator between an Odoo system and the actual service.
|
||||||
|
|
||||||
|
|
||||||
.. figure:: iap/credits.jpg
|
.. figure:: provide_iap_service/credits.jpg
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
The Credits
|
The Credits
|
||||||
@ -67,7 +64,7 @@ Overview
|
|||||||
.. note:: In the following explanations we will ignore the External Service,
|
.. note:: In the following explanations we will ignore the External Service,
|
||||||
they are just a detail of the service you provide.
|
they are just a detail of the service you provide.
|
||||||
|
|
||||||
.. figure:: iap/normal.png
|
.. figure:: provide_iap_service/normal.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
'Normal' service flow
|
'Normal' service flow
|
||||||
@ -87,7 +84,7 @@ Overview
|
|||||||
been rendered, possibly (depending on the service) displaying or
|
been rendered, possibly (depending on the service) displaying or
|
||||||
storing its results in the client's system.
|
storing its results in the client's system.
|
||||||
|
|
||||||
.. figure:: iap/no-credit.png
|
.. figure:: provide_iap_service/no-credit.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
Insufficient credits
|
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
|
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**.
|
client on how they can **access, update or delete their personal information**.
|
||||||
|
|
||||||
.. image:: iap/menu.png
|
.. image:: provide_iap_service/menu.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
.. image:: iap/service_list.png
|
.. image:: provide_iap_service/service_list.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
.. image:: iap/creating_service.png
|
.. image:: provide_iap_service/creating_service.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
.. image:: iap/service_created.png
|
.. image:: provide_iap_service/service_created.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
You can then create *credit packs* which clients can purchase in order to
|
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.
|
pack to another.
|
||||||
|
|
||||||
|
|
||||||
.. image:: iap/package.png
|
.. image:: provide_iap_service/package.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
.. _iap-odoo-app:
|
.. _iap-odoo-app:
|
||||||
@ -283,7 +280,7 @@ local value via your application and additional parts via a remote service.
|
|||||||
</record>
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
||||||
.. image:: iap/button.png
|
.. image:: provide_iap_service/button.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
We can now implement the action method/callback. This will *call our own
|
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
|
JSON-RPC2_ Transaction API
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
.. image:: iap/flow.png
|
.. image:: provide_iap_service/flow.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
* The IAP transaction API does not require using Odoo when implementing your
|
* The IAP transaction API does not require using Odoo when implementing your
|
@ -38,6 +38,7 @@ applications/sales/crm/acquire_leads/generate_from_website.rst applications/sale
|
|||||||
|
|
||||||
# developer/howtos
|
# 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/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.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
|
developer/howtos/rdtraining/01_architecture.rst developer/tutorials/getting_started/01_architecture.rst # reorganize the developer doc
|
||||||
|