[IMP] Stripe: update doc to match the new flow
Stripe now implements a direct flow instead a redirect. This commit focuses on updating the documentation to match the changes. task-3322020 closes odoo/documentation#4719 Related: odoo/upgrade#4748 Related: odoo/enterprise#42196 Related: odoo/odoo#123573 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
3e199d9825
commit
3bd570ae64
@ -148,7 +148,7 @@ Online payment providers
|
|||||||
-
|
-
|
||||||
-
|
-
|
||||||
* - :doc:`Stripe <payment_providers/stripe>`
|
* - :doc:`Stripe <payment_providers/stripe>`
|
||||||
- The provider website
|
- Odoo
|
||||||
- |V|
|
- |V|
|
||||||
- Full only
|
- Full only
|
||||||
- Full and partial
|
- Full and partial
|
||||||
|
@ -24,7 +24,6 @@ The method to acquire your credentials depends on your hosting type:
|
|||||||
#. Confirm your email address when Stripe sends you a confirmation email.
|
#. Confirm your email address when Stripe sends you a confirmation email.
|
||||||
#. At the end of the process, you are redirected to Odoo. If you submitted all the requested
|
#. At the end of the process, you are redirected to Odoo. If you submitted all the requested
|
||||||
information, you are all set and your payment provider is enabled.
|
information, you are all set and your payment provider is enabled.
|
||||||
#. You can continue to :ref:`stripe/local-payment-methods`.
|
|
||||||
|
|
||||||
.. tip::
|
.. tip::
|
||||||
To use your own API keys, :ref:`activate the Developer mode <developer-mode>` and
|
To use your own API keys, :ref:`activate the Developer mode <developer-mode>` and
|
||||||
@ -42,7 +41,6 @@ The method to acquire your credentials depends on your hosting type:
|
|||||||
#. :ref:`Fill in your credentials <stripe/api-keys>`.
|
#. :ref:`Fill in your credentials <stripe/api-keys>`.
|
||||||
#. :ref:`Generate a webhook <stripe/webhook>`.
|
#. :ref:`Generate a webhook <stripe/webhook>`.
|
||||||
#. Enable the payment provider.
|
#. Enable the payment provider.
|
||||||
#. You are all set and can continue to :ref:`stripe/local-payment-methods`.
|
|
||||||
|
|
||||||
.. tip::
|
.. tip::
|
||||||
To connect your Stripe account after the onboarding has already been completed, go to
|
To connect your Stripe account after the onboarding has already been completed, go to
|
||||||
@ -104,9 +102,11 @@ create a webhook either automatically or manually.
|
|||||||
:guilabel:`charge.refund.updated`.
|
:guilabel:`charge.refund.updated`.
|
||||||
- In the :guilabel:`Payment Intent` section, select
|
- In the :guilabel:`Payment Intent` section, select
|
||||||
:guilabel:`payment_intent.amount_capturable_updated`,
|
:guilabel:`payment_intent.amount_capturable_updated`,
|
||||||
:guilabel:`payment_intent.payment_failed` and
|
:guilabel:`payment_intent.payment_failed`, :guilabel:`payment_intent.processing` and
|
||||||
:guilabel:`payment_intent.succeeded`.
|
:guilabel:`payment_intent.succeeded`.
|
||||||
- In the :guilabel:`Setup Intent` section, select :guilabel:`setup_intent.succeeded`.
|
- In the :guilabel:`Setup Intent` section, select :guilabel:`setup_intent.succeeded`.
|
||||||
|
- In the :guilabel:`Charge` section, select :guilabel:`charge.refunded` and
|
||||||
|
:guilabel:`charge.refund.updated`.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
It is possible to select other events, but they are currently not processed by Odoo.
|
It is possible to select other events, but they are currently not processed by Odoo.
|
||||||
@ -144,43 +144,10 @@ To set it up, enable the :guilabel:`Capture Amount Manually` option in Odoo, as
|
|||||||
.. seealso::
|
.. seealso::
|
||||||
- :doc:`../payment_providers`
|
- :doc:`../payment_providers`
|
||||||
|
|
||||||
.. _stripe/local-payment-methods:
|
|
||||||
|
|
||||||
Enable local payment methods
|
|
||||||
============================
|
|
||||||
|
|
||||||
Local payment methods are payment methods that are only available for certain merchants and
|
|
||||||
customers countries and currencies.
|
|
||||||
|
|
||||||
Odoo supports the following local payment methods:
|
|
||||||
|
|
||||||
- Bancontact
|
|
||||||
- EPS
|
|
||||||
- giropay
|
|
||||||
- iDEAL
|
|
||||||
- Przelewy24 (P24)
|
|
||||||
|
|
||||||
To enable some of these local payment methods with Stripe, go to
|
|
||||||
:menuselection:`Payment Providers --> Stripe --> Configuration` and add the desired payment methods
|
|
||||||
in the :guilabel:`Supported Payment Methods` field. If the desired payment method is already listed,
|
|
||||||
you don't have anything to do.
|
|
||||||
|
|
||||||
.. image:: stripe/stripe_enable_local_payment_method.png
|
|
||||||
:align: center
|
|
||||||
:alt: Select and add icons of the payment methods you want to enable
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
- If a payment method record does not exist in the database and its related local payment method is
|
|
||||||
listed above, it is considered enabled with Stripe.
|
|
||||||
- If a local payment method is not listed, it is not supported and cannot be enabled.
|
|
||||||
|
|
||||||
.. _stripe/express-checkout:
|
.. _stripe/express-checkout:
|
||||||
|
|
||||||
Enable express checkout
|
Enable express checkout
|
||||||
=======================
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. seealso::
|
|
||||||
:ref:`payment_providers/features/express_checkout`
|
|
||||||
|
|
||||||
After ticking the :guilabel:`Allow Express Checkout` checkbox, **Google Pay** is enabled out of the
|
After ticking the :guilabel:`Allow Express Checkout` checkbox, **Google Pay** is enabled out of the
|
||||||
box, but **Apple Pay** requires extra steps: You must register your web domain with Apple. This can
|
box, but **Apple Pay** requires extra steps: You must register your web domain with Apple. This can
|
||||||
@ -204,3 +171,6 @@ be done either automatically from Odoo, or manually from Stripe.
|
|||||||
|
|
||||||
.. important::
|
.. important::
|
||||||
This operation must be repeated whenever your web domain changes.
|
This operation must be repeated whenever your web domain changes.
|
||||||
|
|
||||||
|
.. seealso::
|
||||||
|
- :ref:`payment_providers/features/express_checkout`
|
||||||
|
Loading…
Reference in New Issue
Block a user